Package hedge :: Package backends :: Package cuda :: Module tools :: Class CallableCollectionTimer
[hide private]
[frames] | no frames]

Class CallableCollectionTimer

source code


Records the elapsed time returned by a number of callables added via add_timer_callable.

Instance Methods [hide private]
 
__init__(self, name="interval", description=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
add_timer_callable(self, clbl) source code
 
__call__(self)
Return the current value of the diagnostic represented by this LogQuantity or None if no value is available.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from pytools.log.LogQuantity: default_aggregator

Inherited from object: __class__

Method Details [hide private]

__init__(self, name="interval", description=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__call__(self)
(Call operator)

source code 

Return the current value of the diagnostic represented by this LogQuantity or None if no value is available.

Overrides: pytools.log.LogQuantity.__call__
(inherited documentation)