blob: b307a238ba0a590684f7b2520d6ab4ab747732ce [file] [log] [blame]
Eric Anholte71c6282009-05-19 16:09:08 -07001.\" shorthand for double quote that works everywhere.
2.ds q \N'34'
Gaetan Nadon4384c682012-01-03 21:12:19 -05003.TH intel_gpu_top __appmansuffix__ __xorgversion__
Eric Anholte71c6282009-05-19 16:09:08 -07004.SH NAME
5intel_gpu_top \- Display a top-like summary of Intel GPU usage
6.SH SYNOPSIS
Eugeni Dodonov09e4b0c2011-09-05 16:23:11 -03007.nf
Eric Anholte71c6282009-05-19 16:09:08 -07008.B intel_gpu_top
Eugeni Dodonov09e4b0c2011-09-05 16:23:11 -03009.B intel_gpu_top [ parameters ]
Eric Anholte71c6282009-05-19 16:09:08 -070010.SH DESCRIPTION
11.B intel_gpu_top
12is a tool to display usage information of an Intel GPU. It requires root
13privilege to map the graphics device.
Eugeni Dodonov09e4b0c2011-09-05 16:23:11 -030014.SS Options
15.TP
16.B -s [samples per second]
17number of samples to acquire per second
18.TP
Eugeni Dodonovc2983f22011-09-05 19:39:58 -030019.B -o [output file]
Eugeni Dodonov62c542f2011-10-14 15:26:13 -030020collect usage statistics to [file]. If file is "-", run non-interactively
21and output statistics to stdout.
Eugeni Dodonovc2983f22011-09-05 19:39:58 -030022.TP
Eugeni Dodonova483c972011-09-05 19:41:24 -030023.B -e ["command to profile"]
24execute a command, and leave when it is finished. Note that the entire command
25with all parameters should be included as one parameter.
26.TP
Eugeni Dodonov09e4b0c2011-09-05 16:23:11 -030027.B -h
28show usage notes
Eugeni Dodonova483c972011-09-05 19:41:24 -030029.SH EXAMPLES
30.TP
31intel_gpu_top -o "cairo-trace-gvim.log" -s 100 -e "cairo-perf-trace /tmp/gvim"
32will run cairo-perf-trace with /tmp/gvim trace, non-interactively, saving the
33statistics into cairo-trace-gvim.log file, and collecting 100 samples per
34second.
Eric Anholte71c6282009-05-19 16:09:08 -070035.PP
36Note that idle units are not
37displayed, so an entirely idle GPU will only display the ring status and
38header.
39.SH BUGS
40Some GPUs report some units as busy when they aren't, such that even when
41idle and not hung, it will show up as 100% busy.