From 0dcab0258e6e638db8b78fa3c7c7e485280712d4 Mon Sep 17 00:00:00 2001 From: Elliot Smith Date: Tue, 8 Mar 2016 11:32:12 +0000 Subject: 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 Signed-off-by: Michael Wood Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/templates/basebuildpage.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates/basebuildpage.html') diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index 0dc71f5e5e..ff9433eee7 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html @@ -67,8 +67,8 @@ {% block nav-buildtime %}
  • Time
  • {% endblock %} - {% block nav-cpuusage %} -
  • CPU usage
  • + {% block nav-cputime %} +
  • CPU time
  • {% endblock %} {% block nav-diskio %}
  • Disk I/O
  • -- cgit v1.2.3-54-g00ecf