time messure
This commit is contained in:
parent
c15cc2df4e
commit
34b74c72d4
@ -74,7 +74,7 @@ class eventManager():
|
||||
while( self.isMainEventLoopRunning()):
|
||||
st = time.time()
|
||||
self.proceedEventLoop()
|
||||
#print('ALL loop ' + str(time.time() - st))
|
||||
print('ALL loop ' + str(time.time() - st))
|
||||
def handleStopMainLoop(self):
|
||||
self._mainLoopRunning.value = 0
|
||||
time.sleep(0.1)
|
||||
|
@ -79,16 +79,18 @@ class fenrirManager():
|
||||
self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenChanged')
|
||||
|
||||
def handleScreenUpdate(self):
|
||||
s = time.time()
|
||||
self.environment['runtime']['screenManager'].update('onUpdate')
|
||||
|
||||
'''
|
||||
if self.environment['runtime']['applicationManager'].isApplicationChange():
|
||||
self.environment['runtime']['commandManager'].executeDefaultTrigger('onApplicationChange')
|
||||
self.environment['runtime']['commandManager'].executeSwitchTrigger('onSwitchApplicationProfile', \
|
||||
self.environment['runtime']['applicationManager'].getPrevApplication(), \
|
||||
self.environment['runtime']['applicationManager'].getCurrentApplication())
|
||||
|
||||
if not self.environment['runtime']['screenManager'].isScreenChange():
|
||||
self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenUpdate')
|
||||
'''
|
||||
#if not self.environment['runtime']['screenManager'].isScreenChange():
|
||||
self.environment['runtime']['commandManager'].executeDefaultTrigger('onScreenUpdate')
|
||||
#print(time.time() -s)
|
||||
def handlePlugInputDevice(self):
|
||||
self.environment['runtime']['commandManager'].executeDefaultTrigger('PlugInputDevice')
|
||||
def handleHeartBeat(self):
|
||||
|
Loading…
Reference in New Issue
Block a user