MCPcopy Create free account
hub / github.com/ChunelFeng/CGraph / finishRun

Method finishRun

python/tutorial/MyGAspect/MyTimerAspect.py:20–23  ·  view source on GitHub ↗
(self, curStatus: CStatus)

Source from the content-addressed store, hash-verified

18 return CStatus()
19
20 def finishRun(self, curStatus: CStatus):
21 span = time.time() - self._start_time
22 print('----> [MyTimerAspect] {0} time cost is : {1}s'.format(self.getName(), round(span, 2)))
23 return

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected