<probe_system_perfmeter>.html-report [html-dir] [probe-json-file] [graph-spec-json-file] [-open-browser] [-one-page]
Produce a performance report in HTML. The graphs that are included
depend on the probes that have been monitored. The <arg>html-dir</arg>
argument specifies the directory for the HTML report. If not specified,
a temporary directory will be created. The file "index.html" is the
start page.
The <arg>probe-json-file</arg> can specify an already generated
json file containing the probe information, and a report of its
data will be presented (instead of the current session).
The <arg>graph-spec-json-file</arg> argument points out an
json file used for selecting which graphs to produce. If not
specified, a default file will be used.
The <tt>-open-browser</tt> switch starts a web-browser directly
on the generated file.
To decrease browser load time, and to make the main-page more
high-level, some graphs can request to be added to sub-pages
instead of the main page. The <tt>-one-page</tt> switch prevents
this and puts all graphs on the same page.
The graph specification (see <arg>graphs-spec-json-file</arg)
defines which graphs that should be generated. The top-level
<tt>"graphs"</tt> key holds a value-list of all defined graphs.
In this list, each graph support the following key/value pairs:
<br/>Key:"<b>description</b>" Type:<i>list or str</i> Default:<i>No description</i><br/>Optional. A textual description of what a graph represents.<br/><br/>Key:"<b>title</b>" Type:<i>str</i> Default:<i>None</i><br/>Mandatory. Specifies the main title of the graph. The title is also used to identification, if there is a problem in the json file.<br/><br/>Key:"<b>x_axis_title</b>" Type:<i>str</i> Default:<i>None</i><br/>Optional. Specifies the title of the x-axis. If not supplied, the name will be taken from the x-probe's display-name. For histogram-probes' the key-value pairs are unnamed so here the name can represent the key type.<br/><br/>Key:"<b>y_axis_title</b>" Type:<i>str</i> Default:<i>None</i><br/>Optional. Specifies the title of the y-axis. If not supplied, the name will be taken from the first y-probe's display-name. For histogram-probes' the key-value pairs are unnamed so here the name can represent value type.<br/><br/>Key:"<b>type</b>" Type:<i>str</i> Default:<i>line</i> Valid-values:<i> "bar", "line", "pie"</i><br/>Optional. The type of graph that should be generated.<br/><br/>Key:"<b>x_probe</b>" Type:<i>str</i> Default:<i>None</i><br/>Optional. The probe data representing the X-axis values. This is typically sim:sim.time.wallclock-session or sim:sim.time.virtual-session.<br/><br/>Key:"<b>y_probes</b>" Type:<i>list or str</i> Default:<i>None</i><br/>The probe(s) representing the data on the Y-axis, for the sampled X-values.It can be specified in multiple ways:<br/><br/>- "sim:sim.mips" - The global MIPS data<br/>- "cpu0:cpu.mips" - The MIPS data for cpu0 only<br/>- "*:cpu.mips" - All objects MIPS data each as its own graph<br/><br/>Note, that the wildcard (*) syntax is only used for the complete object, it is not possible to use it as a filter, with prefix or suffix characters. Multiple probes can also be specified as a single-list:<br/><br/>- ["sim:sim.exec_mode.interpreter_percent", "sim:sim.exec_mode.jit_percent",", "sim:sim.exec_mode.vmp_percent"]<br/><br/>Here three graphs would be shown, however if any prope is missing this is silently ignored. If no probes are found no chart will be generated. It is also possible to add annotations to each graph:<br/><br/>- ["sim:sim.mips", ["sim:sim.module_profile"]]<br/><br/> Annotation probes provides additional data shown when hovering over a specific point in the graph.In this example, the module profile information is shown when hovering over a data-point in the mips graph.<br/>Wildcard (*) is also handled in the annotation probes, however if the probe assigned with annotations, the *-annotation objects must match those in the original probe-object.<br/><br/>Key:"<b>histogram_probe</b>" Type:<i>str</i> Default:<i>None</i><br/>If a probe is of histogram type, it holds two datapoints: key and value. Such a probe can be used to show a pie or bar chart from the gathered final value. It can also be used by looking at all samples and stack the bars on-top of each-other. In this case the "x-probe" must also be supplied.<br/><br/>Key:"<b>histogram_data_set</b>" Type:<i>str</i> Default:<i>samples</i> Valid-values:<i> "final", "samples"</i><br/>For histogram data, selects if the graph should be based on all the samples or just the final data in the end.<br/><br/>Key:"<b>stacked</b>" Type:<i>bool</i> Default:<i>False</i><br/>If graph-data should be placed stacked on-top of each graph, instead as a separate line/bar.<br/><br/>Key:"<b>arith_mean</b>" Type:<i>bool</i> Default:<i>False</i><br/>TODO re-implement<br/><br/>Key:"<b>percent</b>" Type:<i>bool</i> Default:<i>False</i><br/>Show the Y-data in percent format.<br/><br/>Key:"<b>multi_graph</b>" Type:<i>bool</i> Default:<i>False</i><br/>Generate a separate graph for each object.<br/><br/>Key:"<b>y_range</b>" Type:<i>list</i> Default:<i>None</i><br/>The range shown on the y-axis by default. If not specified, this will be automatic from the actual y-values given.<br/><br/>Key:"<b>min_data_series</b>" Type:<i>int</i> Default:<i>None</i><br/>The minimum number of data-series to draw, for the the graph be shown.<br/><br/>Key:"<b>max_data_series</b>" Type:<i>int</i> Default:<i>None</i><br/>The minimum number of data-series to draw, for the the graph be shown.<br/><br/>Key:"<b>min_graphs</b>" Type:<i>int</i> Default:<i>None</i><br/>With multi-graph, the minimum graphs that must be generated or all of these graphs are skipped.<br/><br/>Key:"<b>max_graphs</b>" Type:<i>int</i> Default:<i>None</i><br/>With multi-graph, the maximum number of graphs that may generated or all of these graphs are skipped.<br/><br/>Key:"<b>cutoff_percent</b>" Type:<i>float</i> Default:<i>0.0</i><br/>Reduce the number of data-series by putting all series that totals in less than the cutoff% value in a special cutoff-bucket<br/><br/>Key:"<b>html_page</b>" Type:<i>str</i> Default:<i>index.html</i><br/>The name of the html-page where this graph should be included if not set, defaults to 'index.html'<br/>
Please note that some key/value pairs only affect certain graphs. Future
improvements to the graph generation process may result in changes,
additions, or removals of the supported key/value pairs. Therefore,
backward compatibility of the JSON file is not guaranteed.
probe-monitor
<probe_system_perfmeter>.add-probe,
<probe_system_perfmeter>.clear-history,
<probe_system_perfmeter>.delete,
<probe_system_perfmeter>.export-json,
<probe_system_perfmeter>.force-sample,
<probe_system_perfmeter>.merge-json,
<probe_system_perfmeter>.plot-graph,
<probe_system_perfmeter>.print-history,
<probe_system_perfmeter>.profile-probes,
<probe_system_perfmeter>.remove-probe,
<probe_system_perfmeter>.reset-session,
<probe_system_perfmeter>.sampling-settings,
<probe_system_perfmeter>.start,
<probe_system_perfmeter>.stop,
<probe_system_perfmeter>.summary,
<probe_system_perfmeter>.table-settings