diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/views.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/toastergui/views.py b/bitbake/lib/toaster/toastergui/views.py index 7f75425af9..ba1aa95810 100644 --- a/bitbake/lib/toaster/toastergui/views.py +++ b/bitbake/lib/toaster/toastergui/views.py | |||
| @@ -578,7 +578,7 @@ def tasks_common(request, build_id, variant): | |||
| 578 | tc_cache={ | 578 | tc_cache={ |
| 579 | 'name':'Cache attempt', | 579 | 'name':'Cache attempt', |
| 580 | 'qhelp':'This column tells you if a task tried to restore output from the <code>sstate-cache</code> directory or mirrors, and what was the result: Succeeded, Failed or File not in cache', | 580 | 'qhelp':'This column tells you if a task tried to restore output from the <code>sstate-cache</code> directory or mirrors, and what was the result: Succeeded, Failed or File not in cache', |
| 581 | 'clclass': 'cache_attempt', 'hidden' : 1, | 581 | 'clclass': 'cache_attempt', 'hidden' : 0, |
| 582 | 'orderfield': _get_toggle_order(request, "sstate_result"), | 582 | 'orderfield': _get_toggle_order(request, "sstate_result"), |
| 583 | 'ordericon':_get_toggle_order_icon(request, "sstate_result"), | 583 | 'ordericon':_get_toggle_order_icon(request, "sstate_result"), |
| 584 | 'filter' : { | 584 | 'filter' : { |
| @@ -593,7 +593,7 @@ def tasks_common(request, build_id, variant): | |||
| 593 | } | 593 | } |
| 594 | 594 | ||
| 595 | } | 595 | } |
| 596 | if 'tasks' == variant: tc_cache['hidden']='0' | 596 | #if 'tasks' == variant: tc_cache['hidden']='0'; |
| 597 | tc_time={ | 597 | tc_time={ |
| 598 | 'name':'Time (secs)', | 598 | 'name':'Time (secs)', |
| 599 | 'qhelp':'How long it took the task to finish, expressed in seconds', | 599 | 'qhelp':'How long it took the task to finish, expressed in seconds', |
| @@ -601,7 +601,7 @@ def tasks_common(request, build_id, variant): | |||
| 601 | 'ordericon':_get_toggle_order_icon(request, "elapsed_time"), | 601 | 'ordericon':_get_toggle_order_icon(request, "elapsed_time"), |
| 602 | 'clclass': 'time_taken', 'hidden' : 1, | 602 | 'clclass': 'time_taken', 'hidden' : 1, |
| 603 | } | 603 | } |
| 604 | if 'buildtime' == variant: tc_time['hidden']='0'; del tc_time['clclass'] | 604 | if 'buildtime' == variant: tc_time['hidden']='0'; del tc_time['clclass']; tc_cache['hidden']='1'; |
| 605 | tc_cpu={ | 605 | tc_cpu={ |
| 606 | 'name':'CPU usage', | 606 | 'name':'CPU usage', |
| 607 | 'qhelp':'Task CPU utilisation, expressed as a percentage', | 607 | 'qhelp':'Task CPU utilisation, expressed as a percentage', |
| @@ -609,7 +609,7 @@ def tasks_common(request, build_id, variant): | |||
| 609 | 'ordericon':_get_toggle_order_icon(request, "cpu_usage"), | 609 | 'ordericon':_get_toggle_order_icon(request, "cpu_usage"), |
| 610 | 'clclass': 'cpu_used', 'hidden' : 1, | 610 | 'clclass': 'cpu_used', 'hidden' : 1, |
| 611 | } | 611 | } |
| 612 | if 'cpuusage' == variant: tc_cpu['hidden']='0'; del tc_cpu['clclass'] | 612 | if 'cpuusage' == variant: tc_cpu['hidden']='0'; del tc_cpu['clclass']; tc_cache['hidden']='1'; |
| 613 | tc_diskio={ | 613 | tc_diskio={ |
| 614 | 'name':'Disk I/O (ms)', | 614 | 'name':'Disk I/O (ms)', |
| 615 | 'qhelp':'Number of miliseconds the task spent doing disk input and output', | 615 | 'qhelp':'Number of miliseconds the task spent doing disk input and output', |
| @@ -617,7 +617,7 @@ def tasks_common(request, build_id, variant): | |||
| 617 | 'ordericon':_get_toggle_order_icon(request, "disk_io"), | 617 | 'ordericon':_get_toggle_order_icon(request, "disk_io"), |
| 618 | 'clclass': 'disk_io', 'hidden' : 1, | 618 | 'clclass': 'disk_io', 'hidden' : 1, |
| 619 | } | 619 | } |
| 620 | if 'diskio' == variant: tc_diskio['hidden']='0'; del tc_diskio['clclass'] | 620 | if 'diskio' == variant: tc_diskio['hidden']='0'; del tc_diskio['clclass']; tc_cache['hidden']='1'; |
| 621 | 621 | ||
| 622 | 622 | ||
| 623 | context = { 'objectname': variant, | 623 | context = { 'objectname': variant, |
