almanak_library.profiler.utils
time
contextmanager
cache
ProfileType
TimeBlockHandler
TimeBlockTable
Config
IS_AGENT_DEPLOYMENT
get_cached_metrics_handler
@cache
def get_cached_metrics_handler()
time_block
@contextmanager
def time_block(name: str,
type: ProfileType,
strategy_id: str,
strategy_state=None,
strategy_substate=None,
action_type=None,
action_id=None)