mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
bitbake: toaster: Added sorting to other columns in All tasks table
Added sorting to recipe, time, cpu, disk i/o and log columns of all tasks table (Bitbake rev: 277d076d777f26f215f01cac59302bcf9cf44a9c) Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6f38844000
commit
47634378ac
@@ -445,7 +445,7 @@ def tasks(request, build_id):
|
||||
{
|
||||
'name':'Recipe',
|
||||
'qhelp':'The name of the recipe to which each task applies',
|
||||
# 'orderfield': _get_toggle_order(request, "recipe"),
|
||||
'orderfield': _get_toggle_order(request, "recipe"),
|
||||
'ordericon':_get_toggle_order_icon(request, "recipe"),
|
||||
},
|
||||
{
|
||||
@@ -514,24 +514,32 @@ def tasks(request, build_id):
|
||||
{
|
||||
'name':'Time (secs)',
|
||||
'qhelp':'How long it took the task to finish, expressed in seconds',
|
||||
'orderfield': _get_toggle_order(request, "elapsed_time"),
|
||||
'ordericon':_get_toggle_order_icon(request, "elapsed_time"),
|
||||
'clclass': 'time_taken',
|
||||
'hidden' : 1,
|
||||
},
|
||||
{
|
||||
'name':'CPU usage',
|
||||
'qhelp':'Task CPU utilisation, expressed as a percentage',
|
||||
'orderfield': _get_toggle_order(request, "cpu_usage"),
|
||||
'ordericon':_get_toggle_order_icon(request, "cpu_usage"),
|
||||
'clclass': 'cpu_used',
|
||||
'hidden' : 1,
|
||||
},
|
||||
{
|
||||
'name':'Disk I/O (ms)',
|
||||
'qhelp':'Number of miliseconds the task spent doing disk input and output',
|
||||
'orderfield': _get_toggle_order(request, "disk_io"),
|
||||
'ordericon':_get_toggle_order_icon(request, "disk_io"),
|
||||
'clclass': 'disk_io',
|
||||
'hidden' : 1,
|
||||
},
|
||||
{
|
||||
'name':'Log',
|
||||
'qhelp':'The location in disk of the task log file',
|
||||
'orderfield': _get_toggle_order(request, "logfile"),
|
||||
'ordericon':_get_toggle_order_icon(request, "logfile"),
|
||||
'clclass': 'task_log',
|
||||
'hidden' : 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user