generic-poky/bitbake/lib/toaster/toastergui
Elliot Smith 0dcab0258e bitbake: toaster: rework task buildstats storage and display
The data available from buildstats is now more fine grained than
previously, so take advantage of that to enrich the data we save
against tasks:

* Store the CPU usage for user and system separately, and display
them separately.
* Disk IO is now measured in bytes, not ms. Also store the
read/write bytes separately.
* Store started and ended times, as well as elapsed_time. This
will enable future features such as showing which tasks were
running at a particular point in the build.

There was also a problem with how we were looking up the Task
object, which meant that the buildstats were being added to
new tasks which weren't correctly associated with the build. Fix
how we look up the Task (only looking for tasks which match the
build, and the task and recipe names in the build stats data) so
the build stats are associated with the correct task.

[YOCTO #8842]

(Bitbake rev: efa6f915566b979bdbad233ae195b413cef1b8da)

Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-09 22:45:16 +00:00
..
fixtures bitbake: toaster: toastergui unit tests convert to use fixtures 2016-02-19 15:38:48 +00:00
static bitbake: toaster: bring back the strict directive 2016-03-07 17:23:03 +00:00
templates bitbake: toaster: rework task buildstats storage and display 2016-03-09 22:45:16 +00:00
templatetags bitbake: toaster: Make the builds view the project page for "command line builds" 2015-10-16 14:59:59 +01:00
__init__.py bitbake: toaster: add toaster code to bitbake 2013-10-18 11:13:49 +01:00
tablefilter.py bitbake: toastergui: streamline construction of filter objects 2016-01-15 16:30:00 +00:00
tables.py bitbake: toaster: change 'revision' to 'Git revision' 2016-03-07 17:23:03 +00:00
tests.py bitbake: toaster: rename 'run again' button 2016-02-26 17:20:36 +00:00
typeaheads.py bitbake: toaster: Exclude "command line builds" project from projects typeahead 2015-10-16 14:16:17 +01:00
urls.py bitbake: toaster: rework task buildstats storage and display 2016-03-09 22:45:16 +00:00
views.py bitbake: toaster: rework task buildstats storage and display 2016-03-09 22:45:16 +00:00
widgets.py bitbake: toastergui: set default visible and hideable columns 2016-01-15 16:30:00 +00:00