diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/builddashboard.html')
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/builddashboard.html | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index 65631286b1..6cce7883ba 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html | |||
| @@ -84,7 +84,7 @@ | |||
| 84 | <dt>Total package size</dt> | 84 | <dt>Total package size</dt> |
| 85 | <dd>{{target.pkgsz|filtered_filesizeformat}}</dd> | 85 | <dd>{{target.pkgsz|filtered_filesizeformat}}</dd> |
| 86 | <dt> | 86 | <dt> |
| 87 | <i class="icon-question-sign get-help" title="The location in disk of the license manifest, a document listing all packages installed in your image and their licenses"></i> | 87 | <i class="icon-question-sign get-help" title="Path to the license manifest, which is a document listing all packages installed in your image and their licenses"></i> |
| 88 | License manifest | 88 | License manifest |
| 89 | </dt> | 89 | </dt> |
| 90 | <dd><a href="{% url 'targetpackages' build.pk target.target.pk %}"><code>{{target.target.license_manifest_path}}</code></a></dd> | 90 | <dd><a href="{% url 'targetpackages' build.pk target.target.pk %}"><code>{{target.target.license_manifest_path}}</code></a></dd> |
| @@ -126,9 +126,21 @@ | |||
| 126 | <h4><a href="{%url 'tasks' build.pk%}">Tasks</a></h4> | 126 | <h4><a href="{%url 'tasks' build.pk%}">Tasks</a></h4> |
| 127 | <dl> | 127 | <dl> |
| 128 | <dt>Total number of tasks</dt><dd><a href="{% url 'tasks' build.pk %}">{{build.task_build.all.count}}</a></dd> | 128 | <dt>Total number of tasks</dt><dd><a href="{% url 'tasks' build.pk %}">{{build.task_build.all.count}}</a></dd> |
| 129 | <dt>Tasks executed</dt><dd><a href="{% url 'tasks' build.pk %}?filter=task_executed%3A1&count=25&search=&page=1&orderby=order%3A%2B">{% query build.task_build task_executed=1 order__gt=0 as exectask%}{{exectask.count}}</a></dd> | 129 | <dt> |
| 130 | <dt>Tasks not executed</dt><dd><a href="{% url 'tasks' build.pk %}?filter=task_executed%3A0&count=25&search=&page=1&orderby=order%3A%2B">{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}</a></dd> | 130 | Tasks executed |
| 131 | <dt>Reuse</dt><dd> | 131 | <i class="icon-question-sign get-help" title="'Executed' tasks are those that need to be run in order to generate the task output"></i> |
| 132 | </dt> | ||
| 133 | <dd><a href="{% url 'tasks' build.pk %}?filter=task_executed%3A1&count=25&search=&page=1&orderby=order%3A%2B">{% query build.task_build task_executed=1 order__gt=0 as exectask%}{{exectask.count}}</a></dd> | ||
| 134 | <dt> | ||
| 135 | Tasks not executed | ||
| 136 | <i class="icon-question-sign get-help" title="'Not executed' tasks don't need to run because their outcome is provided by another task"></i> | ||
| 137 | </dt> | ||
| 138 | <dd><a href="{% url 'tasks' build.pk %}?filter=task_executed%3A0&count=25&search=&page=1&orderby=order%3A%2B">{% query build.task_build task_executed=0 order__gt=0 as noexectask%}{{noexectask.count}}</a></dd> | ||
| 139 | <dt> | ||
| 140 | Reuse | ||
| 141 | <i class="icon-question-sign get-help" title="The percentage of 'not executed' tasks over the total number of tasks, which is a measure of the efficiency of your build"></i> | ||
| 142 | </dt> | ||
| 143 | <dd> | ||
| 132 | {% query build.task_build order__gt=0 as texec %} | 144 | {% query build.task_build order__gt=0 as texec %} |
| 133 | {% if noexectask.count|multiply:100|divide:texec.count < 0 %} | 145 | {% if noexectask.count|multiply:100|divide:texec.count < 0 %} |
| 134 | 0 | 146 | 0 |
