gnn_tracking.utils.timing
#
Module Contents#
Classes#
Helper class for timing code blocks. |
Functions#
|
Context manager for timing code blocks. |
- class gnn_tracking.utils.timing.Timer#
Helper class for timing code blocks.
t0
is set to the current time when the class is instantiated.- __call__()#
Return the time since the last call or
__init__
.
- gnn_tracking.utils.timing.timing(name='Codeblock', logger=None)#
Context manager for timing code blocks.