From 09e4b0cd26e800c203c1de071b83d879a09bb0dc Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Mon, 5 Sep 2011 16:23:11 -0300 Subject: 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 --- man/intel_gpu_top.1 | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man') 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 -- cgit v1.2.3