diff options
author | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2011-09-05 16:23:11 -0300 |
---|---|---|
committer | Eugeni Dodonov <eugeni.dodonov@intel.com> | 2011-09-05 19:11:45 -0300 |
commit | 09e4b0cd26e800c203c1de071b83d879a09bb0dc (patch) | |
tree | f2b79c76e91baeb955d80de8a6b7a14727f23d5a /man | |
parent | 6194c75c8f438d13f6535d70009658851929f39e (diff) |
intel_gpu_top: suport command line parameters and variable samples per
second
This patch adds support for getopt, and adds two default parameters to it:
-h to show usage notes; and -s to allow user to define number of samples
to acquire per second.
Manpage documentation is also adjusted accordingly.
Signed-off-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
Diffstat (limited to 'man')
-rw-r--r-- | man/intel_gpu_top.1 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/man/intel_gpu_top.1 b/man/intel_gpu_top.1 index 79c9c0eb..2cbbec98 100644 --- a/man/intel_gpu_top.1 +++ b/man/intel_gpu_top.1 @@ -4,11 +4,20 @@ .SH NAME intel_gpu_top \- Display a top-like summary of Intel GPU usage .SH SYNOPSIS +.nf .B intel_gpu_top +.B intel_gpu_top [ parameters ] .SH DESCRIPTION .B intel_gpu_top is a tool to display usage information of an Intel GPU. It requires root privilege to map the graphics device. +.SS Options +.TP +.B -s [samples per second] +number of samples to acquire per second +.TP +.B -h +show usage notes .PP Note that idle units are not displayed, so an entirely idle GPU will only display the ring status and |