CCMemoryUsage#

class CCMemoryUsage(fast_shape, ft_shape, float_nbytes, complex_nbytes, integer_nbytes)[source]#

Bases: MemoryProfile

tme.matching_scores.cc_setup() memory estimator.

Attributes

CCMemoryUsage.base_complex

Number of shared complex arrays

CCMemoryUsage.base_float

Number of shared real arrays

CCMemoryUsage.fork_complex

Number of complex arrays per fork

CCMemoryUsage.fork_float

Number of real arrays per fork

Methods

CCMemoryUsage.base_usage()

Return the base memory usage in bytes.

CCMemoryUsage.per_fork()

Return the memory usage per fork in bytes.