MCPcopy Create free account
hub / github.com/ActiveState/code / start

Method start

recipes/Python/303338_Helper_subclass/recipe-303338.py:72–76  ·  view source on GitHub ↗

Start the counter with measurements at the frequency specified at instance creation

(self)

Source from the content-addressed store, hash-verified

70 inst_dict = kind_dict.setdefault(inst, {})
71
72 def start(self):
73 """Start the counter with measurements at the frequency specified at
74 instance creation"""
75 self.starttime = datetime.utcnow()
76 self.collectdatawhile(self.tick_freq)
77
78 def stop(self):
79 """Stop collecting data"""

Callers 9

start_threadsFunction · 0.45
__init__Method · 0.45
asynchronous_ftp_getMethod · 0.45
mainFunction · 0.45
recipe-302088.pyFile · 0.45
mainFunction · 0.45
start_threadsMethod · 0.45
__init__Method · 0.45
__call__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected