<vmcom>.status <vtune_measurement>.info
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<vtune_measurement>.flamegraph

Synopsis

<vtune_measurement>.flamegraph [-open-browser] [-discard-module] [-modules-only] [svg-output-filename] ["thread-group"]

Description

This command produces a Scalable Vector Graphics (SVG) file, suitable to view the profile in a web-browser. A flamegraph is a graphical presentation of the profile, providing a good overview of where the time is spent and the call-chains for the bottlenecks.

In order to use this feature the flamegraph package must be installed on the host where Simics runs. See http://www.brendangregg.com/flamegraphs.html.

The flamegraph.pl file, must have executable permissions and be located within the PATH environment variable when Simics is started.

The graphic is dynamic, allowing you to hover over the mouse to get further details on the functions, or click to zoom-in on all a particular function and its children.

In the browser, it is also possible to search in the flamegraph by pressing CTRL-f and giving a regular expression for functions to locate and see how much percent the hits represents.

The -open-browser flag will attempt to open the generated file on the default webbrowser on the system.

The -discard-module flag only includes the function names in the profile, causing shorter identifiers in the graph.

The -modules-only flag only lists the modules and tries to collapse intra-module calls, providing an overview of the profile on module level and how the modules are called.

The output file is optional and specified with the svg-output-filename argument. If omitted, a temporary file will be created.

The thread-group argument allow filtering on threads which have a certain name.

Provided By

vtune-measurement

See Also

<vtune_measurement>.start, <vtune_measurement>.stop
<vmcom>.status <vtune_measurement>.info