diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/task.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/task.html | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/task.html b/bitbake/lib/toaster/toastergui/templates/task.html index ef628d9f9b..5768262432 100644 --- a/bitbake/lib/toaster/toastergui/templates/task.html +++ b/bitbake/lib/toaster/toastergui/templates/task.html | |||
| @@ -238,7 +238,7 @@ | |||
| 238 | </dl> | 238 | </dl> |
| 239 | 239 | ||
| 240 | {# Performance section - shown only for executed tasks #} | 240 | {# Performance section - shown only for executed tasks #} |
| 241 | {%if task.elapsed_time or task.cpu_usage or task.disk_io %} | 241 | {%if task.elapsed_time or task.cpu_time_user or task.cpu_time_system or task.disk_io %} |
| 242 | <h2 class="details">Performance</h2> | 242 | <h2 class="details">Performance</h2> |
| 243 | {% endif %} | 243 | {% endif %} |
| 244 | <dl class="dl-horizontal"> | 244 | <dl class="dl-horizontal"> |
| @@ -249,19 +249,26 @@ | |||
| 249 | </dt> | 249 | </dt> |
| 250 | <dd>{{task.elapsed_time|format_none_and_zero|floatformat:2}}</dd> | 250 | <dd>{{task.elapsed_time|format_none_and_zero|floatformat:2}}</dd> |
| 251 | {% endif %} | 251 | {% endif %} |
| 252 | {% if task.cpu_usage > 0 %} | 252 | {% if task.cpu_time_user > 0 %} |
| 253 | <dt> | 253 | <dt> |
| 254 | <i class="icon-question-sign get-help" title="The percentage of task CPU utilization"></i> | 254 | <i class="icon-question-sign get-help" title="Total amount of time spent executing in user mode, in seconds. Note that this time can be greater than the task time due to parallel execution."></i> |
| 255 | CPU usage | 255 | User CPU time (secs) |
| 256 | </dt> | 256 | </dt> |
| 257 | <dd>{{task.cpu_usage|format_none_and_zero|floatformat:2}}%</dd> | 257 | <dd>{{task.cpu_time_user|format_none_and_zero|floatformat:2}}</dd> |
| 258 | {% endif %} | ||
| 259 | {% if task.cpu_time_system > 0 %} | ||
| 260 | <dt> | ||
| 261 | <i class="icon-question-sign get-help" title="Total amount of time spent executing in kernel mode, in seconds. Note that this time can be greater than the task time due to parallel execution."></i> | ||
| 262 | System CPU time (secs) | ||
| 263 | </dt> | ||
| 264 | <dd>{{task.cpu_time_system|format_none_and_zero|floatformat:2}}</dd> | ||
| 258 | {% endif %} | 265 | {% endif %} |
| 259 | {% if task.disk_io > 0 %} | 266 | {% if task.disk_io > 0 %} |
| 260 | <dt> | 267 | <dt> |
| 261 | <i class="icon-question-sign get-help" title="Number of miliseconds the task spent doing disk input and output"></i> | 268 | <i class="icon-question-sign get-help" title="Number of bytes written to and read from the disk during the task"></i> |
| 262 | Disk I/O (ms) | 269 | Disk I/O (bytes) |
| 263 | </dt> | 270 | </dt> |
| 264 | <dd>{{task.disk_io|format_none_and_zero}}</dd> | 271 | <dd>{{task.disk_io|format_none_and_zero|intcomma}}</dd> |
| 265 | {% endif %} | 272 | {% endif %} |
| 266 | </dl> | 273 | </dl> |
| 267 | 274 | ||
