Lines Matching +full:event +full:-

2 # Copyright (C) 2006 - 2007  Michael 'Mickey' Lauer
3 # Copyright (C) 2006 - 2007 Richard Purdie
5 # SPDX-License-Identifier: GPL-2.0-only
22 def eventHandler(self, event): argument
32 if isinstance(event, bb.build.TaskStarted):
33 tid = event._fn + ":" + event._task
34 if event._mc != "default":
35 …tid] = { 'title' : "mc:%s:%s %s" % (event._mc, event._package, event._task), 'starttime' : time.ti…
37 …ning_tasks[tid] = { 'title' : "%s %s" % (event._package, event._task), 'starttime' : time.time(), …
39 self.pidmap[event.pid] = tid
41 elif isinstance(event, bb.build.TaskSucceeded):
42 tid = event._fn + ":" + event._task
43 removetid(event.pid, tid)
44 elif isinstance(event, bb.build.TaskFailedSilent):
45 tid = event._fn + ":" + event._task
46 removetid(event.pid, tid)
48 elif isinstance(event, bb.build.TaskFailed):
49 tid = event._fn + ":" + event._task
50 removetid(event.pid, tid)
51 self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)})
52 …elif isinstance(event, bb.runqueue.runQueueTaskStarted) or isinstance(event, bb.runqueue.sceneQueu…
53 … self.tasknumber_current = event.stats.completed + event.stats.active + event.stats.failed
54 self.tasknumber_total = event.stats.total
55 …self.setscene_current = event.stats.setscene_active + event.stats.setscene_covered + event.stats.s…
56 self.setscene_total = event.stats.setscene_total
58 elif isinstance(event, bb.build.TaskProgress):
59 if event.pid > 0 and event.pid in self.pidmap:
60 self.running_tasks[self.pidmap[event.pid]]['progress'] = event.progress
61 self.running_tasks[self.pidmap[event.pid]]['rate'] = event.rate