Пример #1
0
 def hook_threadResume(self, event, payload):
     task = RuntimeModel.getCurrentTask(event)
     if task.isRunning():
         payload.append((ExtraeEventTypes.RUNNING_TASK_ID, task.id))
Пример #2
0
 def hook_threadSuspend(self, event, payload):
     task = RuntimeModel.getCurrentTask(event)
     if task.isRunning():
         payload.append(
             (ExtraeEventTypes.RUNNING_TASK_ID, RuntimeActivity.End))
Пример #3
0
 def hook_taskExecute(self, event, payload):
     task = RuntimeModel.getCurrentTask(event)
     payload.append((ExtraeEventTypes.RUNNING_TASK_ID, task.id))