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 <David.Reyna@windriver.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
David Reyna
2014-02-14 14:58:20 -08:00
committed by Richard Purdie
parent 93aa4aba74
commit 438578e299
5 changed files with 236 additions and 192 deletions

View File

@@ -80,7 +80,7 @@ class Task(models.Model):
(SSTATE_NA, 'Not Applicable'), # For rest of tasks, but they still need checking.
(SSTATE_MISS, 'Missing'), # it is a miss
(SSTATE_FAILED, 'Failed'), # there was a pkg, but the script failed
(SSTATE_RESTORED, 'Restored'), # succesfully restored
(SSTATE_RESTORED, 'Succeeded'), # successfully restored
)
CODING_NA = 0
@@ -111,7 +111,7 @@ class Task(models.Model):
(OUTCOME_EMPTY, 'Empty'),
)
search_allowed_fields = [ "recipe__name", "task_name" ]
search_allowed_fields = [ "recipe__name", "recipe__version", "task_name", "logfile" ]
objects = TaskManager()