Display a top-like summary of Intel GPU usage
intel_gpu_top [ parameters ]
add an example, a script, a trick and tips
intel_gpu_top -o "cairo-trace-gvim.log" -s 100 -e
will run cairo-perf-trace with /tmp/gvim trace,
non-interactively, saving the statistics into
cairo-trace-gvim.log file, and collecting 100 samples per second.
Note that idle units are not displayed, so an entirely idle GPU
will only display the ring status and header.
is a tool to display usage information of an Intel GPU. It
requires root privilege to map the graphics device.
-s [samples per second]
number of samples to acquire
-o [output file]
collect usage statistics to
[file]. If file is "-", run non-interactively and
output statistics to stdout.
-e ["command to
execute a command, and leave
when it is finished. Note that the entire command with all
parameters should be included as one parameter.
report some units as busy when they aren’t, such that
even when idle and not hung, it will show up as 100%