LIKWID
likwid-perfscope

Information

likwid-perfscope is a command line application written in Lua that uses the timeline daemon mode of likwid-perfctr to create on-the-fly pictures with the current measurements. It uses the feedGnuplot Perl script to send the current data to gnuplot. In order to make it more convenient for users, preconfigured plots of interesting metrics are embedded into likwid-perfscope. Since the plot windows are normally closed directly after the execution of the monitored applications, likwid-perfscope waits until Ctrl+c is pressed.

Options

Option Description
-h, –help Print help message.
-v, –version Print version information.
-a, –all Print available predefined plot configurations for current processor.
-d, –dump Print measurements to stdout.
-p, –plotdump Use feedGnuplots feature to dump plot configuration and its data to stdout.
-c <arg> Defines the CPUs that should be measured
See CPU_expressions on the likwid-pin page for information about the syntax.
-C <arg> Defines the CPUs that should be measured and pin the executable to the CPUs
See CPU_expressions on the likwid-pin page for information about the syntax.
-t, –time <time> Specify the measurement time for each plot. <time> is handled over to likwid-perfctr with the -t option.
Examples for <time> are 1s, 250ms, 500us.
-g, –group <arg> Specify a predefined plot with optional changes or an eventset with plot configuration. See plot_configuration for details.
-r, –range <arg> Specify the amount of data points that should be visible in the plots. Often refered to as sliding window.
–host <arg> Connect to <arg> via ssh and execute likwid-perfctr and the application there. The plots are created on the local machine. Often used if measured on hosts without X11 or GnuPlot.

Plot configurations

likwid-perfscope extends the format of the eventset option of likwid-perfctr to make it more conveniet for the users. It accepts either a plot configuration of interesting metrics which are embedded into likwid-perfscope or a custom eventset suitable for likwid-perfctr extended by the plot configuration. A plot configuration can be set with key=value pairs separated by ':' and has to contain at least a definition of a formula for plotting. If specifyed a predefined plot configuration, the configuration can be changed. Options for the plot configuration:

Option                          Description
title=<string>
TITLE=<string>
Use <string> as title for the plot. The string has to be quoted if it contains spaces. No ':' are allowed in the string
xtitle=<string>
XTITLE=<string>
Use <string> as label for the x-axis. The default label is 'Time'. The string has to be quoted if it contains spaces. No ':' are allowed in the string
ytitle=<string>
YTITLE=<string>
Use <string> as label for the left y-axis. The string has to be quoted if it contains spaces. No ':' are allowed in the string
<string>=<string> Use the first <string> as legend entry and the second <string> as input forumla for the plot. The result is printed over the run time. The names of the specified counters can be used as variables in the formula. Additional variables are 'time' for the measurement time and 'inverseClock' for the inverted clock frequency. No spaces are allowed in the formula.
y2title=<string>
Y2TITLE=<string>
y2title=<id-string>
Y2TITLE=<id-string>
Use <string> as label for the right y-axis. If <id-string> is given, the formula with id is associated with the y2-axis. If used with predefined plot configurations, be aware that the formula 1 is part of the plot configuration. If no id is given, the y2-axis is associated with the last given formula. The string has to be quoted if it contains spaces. No ':' are allowed in the string

Examples

*/