summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/toastergui/views.py')
-rw-r--r--bitbake/lib/toaster/toastergui/views.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py
index 9a4b64a268..7b84df3340 100644
--- a/bitbake/lib/toaster/toastergui/views.py
+++ b/bitbake/lib/toaster/toastergui/views.py
@@ -445,7 +445,7 @@ def tasks(request, build_id):
445 { 445 {
446 'name':'Recipe', 446 'name':'Recipe',
447 'qhelp':'The name of the recipe to which each task applies', 447 'qhelp':'The name of the recipe to which each task applies',
448# 'orderfield': _get_toggle_order(request, "recipe"), 448 'orderfield': _get_toggle_order(request, "recipe"),
449 'ordericon':_get_toggle_order_icon(request, "recipe"), 449 'ordericon':_get_toggle_order_icon(request, "recipe"),
450 }, 450 },
451 { 451 {
@@ -514,24 +514,32 @@ def tasks(request, build_id):
514 { 514 {
515 'name':'Time (secs)', 515 'name':'Time (secs)',
516 'qhelp':'How long it took the task to finish, expressed in seconds', 516 'qhelp':'How long it took the task to finish, expressed in seconds',
517 'orderfield': _get_toggle_order(request, "elapsed_time"),
518 'ordericon':_get_toggle_order_icon(request, "elapsed_time"),
517 'clclass': 'time_taken', 519 'clclass': 'time_taken',
518 'hidden' : 1, 520 'hidden' : 1,
519 }, 521 },
520 { 522 {
521 'name':'CPU usage', 523 'name':'CPU usage',
522 'qhelp':'Task CPU utilisation, expressed as a percentage', 524 'qhelp':'Task CPU utilisation, expressed as a percentage',
525 'orderfield': _get_toggle_order(request, "cpu_usage"),
526 'ordericon':_get_toggle_order_icon(request, "cpu_usage"),
523 'clclass': 'cpu_used', 527 'clclass': 'cpu_used',
524 'hidden' : 1, 528 'hidden' : 1,
525 }, 529 },
526 { 530 {
527 'name':'Disk I/O (ms)', 531 'name':'Disk I/O (ms)',
528 'qhelp':'Number of miliseconds the task spent doing disk input and output', 532 'qhelp':'Number of miliseconds the task spent doing disk input and output',
533 'orderfield': _get_toggle_order(request, "disk_io"),
534 'ordericon':_get_toggle_order_icon(request, "disk_io"),
529 'clclass': 'disk_io', 535 'clclass': 'disk_io',
530 'hidden' : 1, 536 'hidden' : 1,
531 }, 537 },
532 { 538 {
533 'name':'Log', 539 'name':'Log',
534 'qhelp':'The location in disk of the task log file', 540 'qhelp':'The location in disk of the task log file',
541 'orderfield': _get_toggle_order(request, "logfile"),
542 'ordericon':_get_toggle_order_icon(request, "logfile"),
535 'clclass': 'task_log', 543 'clclass': 'task_log',
536 'hidden' : 1, 544 'hidden' : 1,
537 }, 545 },