MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / tik

Method tik

python/pymesh/timethis.py:29–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

27 return functools.partial(self.__call__, obj)
28
29 def tik(self):
30 f_name = self.__get_name()
31 if f_name not in self.__tiks:
32 self.tiks[f_name] = time()
33 else:
34 raise RuntimeError("Overwriting previous tik for '{}'".format(f_name))
35
36 def tok(self):
37 finish = time()

Callers 1

__call__Method · 0.95

Calls 2

__get_nameMethod · 0.95
RuntimeErrorClass · 0.85

Tested by

no test coverage detected