MCPcopy
hub / github.com/AUTOMATIC1111/stable-diffusion-webui / elapsed

Method elapsed

modules/timer.py:37–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35 self.subcategory_level = 0
36
37 def elapsed(self):
38 end = time.time()
39 res = end - self.start
40 self.start = end
41 return res
42
43 def add_time_to_record(self, category, amount):
44 if category not in self.records:

Callers 2

recordMethod · 0.95
subcategoryMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected