MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / __init__

Method __init__

mapping/src/utils/profile_util.py:7–11  ·  view source on GitHub ↗
(self, verbose=False)

Source from the content-addressed store, hash-verified

5
6class Profiler(object):
7 def __init__(self, verbose=False) -> None:
8 self.timer = dict()
9 self.time_log = dict()
10 self.enabled = False
11 self.verbose = verbose
12
13 def enable(self):
14 self.enabled = True

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected