{% import "utils.html" as utils %} {% macro v4_run_page(ts, machine, run, compare_to, neighboring_runs, comparison_neighboring_runs=none) %}
{# FIXME: Don't hard code field name. #} {% if compare_to %} {# FIXME: Don't hard code field name. #} {% endif %}
Machine: {{machine.name}}:{{machine.id}}
Run:{{run.start_time}} ({{ run.order.llvm_project_revision}})
Compare To:{{compare_to.start_time}} ({{ compare_to.order.llvm_project_revision}})

Machine:

{{ machine.name}}:{{machine.id}}

Runs:

    {# Show a small number of neighboring runs. #} {% for r in neighboring_runs %}
  • {{ "

    "|safe if r.id == run.id else "" }} {{ r.start_time}}{{ "

    "|safe if r.id == run.id else ""}} {% endfor %}
{# Show a small number of runs in the neighborhood of the comparison run. #} {% if comparison_neighboring_runs %}

Compare To:

    {% for r in comparison_neighboring_runs %}
  • {{ "

    "|safe if compare_to and r.id == compare_to.id else "" }} {{ r.start_time}}{{ "

    "|safe if compare_to and r.id == compare_to.id else ""}} {% endfor %}
{% endif %}
Nickname {{machine.name}}
Machine ID {{machine.id}}
{{ utils.render_popup_begin('machine_info', 'Machine Info', true) }}

Fields

{% for item in machine.fields %} {% endfor %}
{{item.name}} {{machine.get_field(item)}}

Parameters

{% for key,value in machine.parameters|dictsort %} {% endfor %}
{{key}} {{value}}
{{ utils.render_popup_end() }} {{ utils.render_popup_begin('run_info', 'Run Info', true) }}

Fields

{% for item in run.fields %} {% endfor %}
NameValue
{{item.name}} {{run.get_field(item)}}

Parameters

{% for key,value in run.parameters|dictsort %} {% endfor %}
NameValue
{{key}} {{value}}
{{ utils.render_popup_end() }} {{ caller() }}
{% endmacro %}