def runtime(self):
        if self.getstate() == coreapi.CORE_EVENT_RUNTIME_STATE:
            return time.time() - self._time
        else:
            return 0.0
Return the current time we have been in the runtime state, or zero
dataset/ETHPy150Open coreemu/core/daemon/core/session.py/Session.runtime