Home
last modified time | relevance | path

Searched refs:task_stats (Results 1 – 1 of 1) sorted by relevance

/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dbuildinfohelper.py246 def update_task_object(self, build, task_name, recipe_name, task_stats): argument
257 if 'started' in task_stats and 'ended' in task_stats:
259 task_to_update.ended = self._timestamp_to_datetime(task_stats['ended'])
260 task_to_update.elapsed_time = (task_stats['ended'] - task_stats['started'])
261 task_to_update.cpu_time_user = task_stats.get('cpu_time_user')
262 task_to_update.cpu_time_system = task_stats.get('cpu_time_system')
263 if 'disk_io_read' in task_stats and 'disk_io_write' in task_stats:
264 task_to_update.disk_io_read = task_stats['disk_io_read']
265 task_to_update.disk_io_write = task_stats['disk_io_write']
266 task_to_update.disk_io = task_stats['disk_io_read'] + task_stats['disk_io_write']
[all …]