From 438578e2997f718f4ab2f50f309364edb6e3b4f8 Mon Sep 17 00:00:00 2001 From: David Reyna Date: Fri, 14 Feb 2014 14:58:20 -0800 Subject: bitbake: toaster: extend Tasks to include Time, Disk IO, and CPU Usage Update the All Tasks page to also cover the Time, Disk I/O, and CPU Usage pages. Add filter count header support, and fix minor column enablements. [YOCTO #4387] (Bitbake rev: 7e78836ebbddf0240094fd79a18cb057d6c4f322) Signed-off-by: David Reyna Signed-off-by: Paul Eggleton Signed-off-by: Richard Purdie --- .../lib/toaster/toastergui/templates/tasks.html | 93 +++++++++++----------- 1 file changed, 47 insertions(+), 46 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates/tasks.html') diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html index 3479e7e..7dc2c38 100644 --- a/bitbake/lib/toaster/toastergui/templates/tasks.html +++ b/bitbake/lib/toaster/toastergui/templates/tasks.html @@ -1,60 +1,61 @@ {% extends "basebuildpage.html" %} {% load projecttags %} {% block localbreadcrumb %} -
  • All tasks
  • +
  • {{title}}
  • {% endblock %} {% block buildinfomain %}
    {% include "basetable_top.html" %} - - {% if not objects %} -

    No tasks were executed in this build!

    - {% else %} - {% for task in objects %} - - - {{task.order}} - - - {{task.recipe.name}} - - - {{task.recipe.version}} - - - {{task.task_name}} - - - {{task.get_executed_display}} - - - {{task.get_outcome_display}} - - - {{task.get_sstate_result_display|format_none_and_zero}} - - - {{task.elapsed_time|format_none_and_zero}} - - - {{task.cpu_usage|format_none_and_zero}} - - - {{task.disk_io|format_none_and_zero}} - - - {{task.logfile}} - - - - {% endfor %} - - {% endif %} + {% for task in objects %} + + + {{task.order}} + + + {{task.recipe.name}} + + + {{task.recipe.version}} + + + {{task.task_name}} + + + {{task.get_executed_display}} + + + {{task.get_outcome_display}} + + + {{task.get_sstate_result_display|format_none_and_zero}} + + + {{task.elapsed_time|format_none_and_zero|floatformat:2}} + + + {{task.cpu_usage|format_none_and_zero|floatformat:2}}{% if task.cpu_usage %}%{% endif %} + + + {{task.disk_io|format_none_and_zero}} + + + {{task.logfile}} + + + {% endfor %} {% include "basetable_bottom.html" %}
    -- cgit v1.1