summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorEugeni Dodonov <eugeni.dodonov@intel.com>2011-09-05 16:33:04 -0300
committerEugeni Dodonov <eugeni.dodonov@intel.com>2011-09-05 19:13:58 -0300
commit431fe7803d37f344275fdaceb57c1fbaeee8541c (patch)
tree139b952bfed549f4a56a31d599ab168e303dd70d /man
parent4b0a15e45d1823888cfed9a76e54036658ab8e61 (diff)
intel_gpu_top: initialize monitoring statistics at startup
This patch initializes the last_stats[] for registers prior to starting the monitoring itself. This way, the first measure will already contain the difference from the previous value instead of non-initialized value. Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Diffstat (limited to 'man')
-rw-r--r--man/intel_gpu_top.113
1 files changed, 13 insertions, 0 deletions
diff --git a/man/intel_gpu_top.1 b/man/intel_gpu_top.1
index 2cbbec98..db2f362e 100644
--- a/man/intel_gpu_top.1
+++ b/man/intel_gpu_top.1
@@ -16,8 +16,21 @@ privilege to map the graphics device.
.B -s [samples per second]
number of samples to acquire per second
.TP
+.B -o [output file]
+run non-interactively and collect usage statistics to [file]
+.TP
+.B -e ["command to profile"]
+execute a command, and leave when it is finished. Note that the entire command
+with all parameters should be included as one parameter.
+.TP
.B -h
show usage notes
+.SH EXAMPLES
+.TP
+intel_gpu_top -o "cairo-trace-gvim.log" -s 100 -e "cairo-perf-trace /tmp/gvim"
+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.
.PP
Note that idle units are not
displayed, so an entirely idle GPU will only display the ring status and