MCPcopy
hub / github.com/alievk/avatarify-python / toc

Method toc

afy/utils.py:73–78  ·  view source on GitHub ↗
(self, total=False)

Source from the content-addressed store, hash-verified

71 self.t = time.time()
72
73 def toc(self, total=False):
74 if total:
75 return (time.time() - self.t_init) * 1000
76
77 assert self.t, 'You forgot to call tic()'
78 return (time.time() - self.t) * 1000
79
80 def tocp(self, str):
81 t = self.toc()

Callers 8

tocpMethod · 0.95
_send_recv_asyncMethod · 0.95
send_workerMethod · 0.95
recv_workerMethod · 0.95
recv_workerMethod · 0.95
predictor_workerMethod · 0.95
send_workerMethod · 0.95
cam_fomm.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected