MCPcopy Create free account
hub / github.com/DragonisCV/RAM / __init__

Method __init__

ram/utils/logger.py:12–18  ·  view source on GitHub ↗
(self, window=200)

Source from the content-addressed store, hash-verified

10class AvgTimer():
11
12 def __init__(self, window=200):
13 self.window = window # average window
14 self.current_time = 0
15 self.total_time = 0
16 self.count = 0
17 self.avg_time = 0
18 self.start()
19
20 def start(self):
21 self.start_time = self.tic = time.time()

Callers

nothing calls this directly

Calls 1

startMethod · 0.95

Tested by

no test coverage detected