Belle II Software  release-05-02-19
ModuleStatistics Class Reference

Public Member Functions

def __init__ (self, stats, categories)
 
def __getitem__ (self, item)
 

Static Public Member Functions

def get_dict (function, categories)
 

Public Attributes

 name
 Name property.
 
 time_sum
 Time sum property.
 
 time_mean
 Time mean property.
 
 time_stddev
 Time std property.
 
 memory_sum
 Memory sum property.
 
 memory_mean
 Memory mean property.
 
 memory_stddev
 Memory std property.
 
 calls
 Calls property.
 

Detailed Description

Dictionary list holding the module statistics (like the C++ class ModuleStatistics)

Definition at line 6 of file entities.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  stats,
  categories 
)
Create a new module statistics entity.

Definition at line 12 of file entities.py.

Member Function Documentation

◆ __getitem__()

def __getitem__ (   self,
  item 
)
Convenience function for the display.

Definition at line 39 of file entities.py.

◆ get_dict()

def get_dict (   function,
  categories 
)
static
Call the function on each information in the categories and return a dict
name -> function(value)

Definition at line 32 of file entities.py.


The documentation for this class was generated from the following file: