summaryrefslogtreecommitdiff
path: root/man/intel_gpu_top.rst
blob: a5f7175bb1a0eba981ded2878759732699eb4db5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
=============
intel_gpu_top
=============

---------------------------------------------
Display a top-like summary of Intel GPU usage
---------------------------------------------
.. include:: defs.rst
:Author: IGT Developers <igt-dev@lists.freedesktop.org>
:Date: 2016-03-01
:Version: |PACKAGE_STRING|
:Copyright: 2009,2011,2012,2016 Intel Corporation
:Manual section: |MANUAL_SECTION|
:Manual group: |MANUAL_GROUP|

SYNOPSIS
========

**intel_gpu_top** [*OPTIONS*]

DESCRIPTION
===========

**intel_gpu_top** is a tool to display usage information of an Intel GPU. It
requires root privilege to map the graphics device.

OPTIONS
=======

-s SAMPLES
    Number of samples to acquire per second.

-o FILE
    Collect usage statistics to FILE. If file is "-", run non-interactively
    and output statistics to stdout.

-e COMMAND
    Execute COMMAND to profile, and leave when it is finished. Note that the
    entire command with all parameters should be included as one parameter.

-h
    Show usage notes.

EXAMPLES
========

intel_gpu_top -o "cairo-trace-gvim.log" -s 100 -e "cairo-perf-trace /tmp/gvim"
    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.

BUGS
====

Some GPUs report some units as busy when they aren't, such that even when idle
and not hung, it will show up as 100% busy.

REPORTING BUGS
==============

Report bugs to https://bugs.freedesktop.org.