MCPcopy Create free account
hub / github.com/PJLab-ADG/OASim / createTimer

Method createTimer

limsim/simModel/fixedScene/interReplay.py:172–176  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

170 print('[green bold]Database migration finished.[/green bold]')
171
172 def createTimer(self):
173 if not self.tpEnd or not self.dataQue.empty():
174 t = threading.Timer(1, self.dataStore)
175 t.daemon = True
176 t.start()
177
178 def dataStore(self):
179 # stime = time.time()

Callers 2

__init__Method · 0.95
dataStoreMethod · 0.95

Calls 1

startMethod · 0.45

Tested by

no test coverage detected