summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorSimon Fairweather <simon.n.fairweather@gmail.com>2025-11-28 18:23:26 +0100
committerKamil Konieczny <kamil.konieczny@linux.intel.com>2025-12-01 13:42:11 +0100
commite6fb6c83f667c6ed42ed1e4bffe341353f3e2085 (patch)
tree9a006dda62b3450363ecf69c5576c42ebe7e9c92 /man
parent3a460cb78ca13f4abeffa88707753fb4660a4754 (diff)
tools/intel_gpu_top: Add iteration option -n
When using option -c, -J or -l default is looping forever until user break process. Lets introduce new option -n <number> and break printing after reaching given number of iterations. Also while at it, update copyright year in man page. v2: corrected whitespaces, extended description (Kamil) v3: reduced number of vars and changed printed help (Krzysztof) added description to man page (Tvrtko) v4: improved help (Krzysztof), changed var to long, update copyright year, added also -l option in description, added closes tag (Kamil) Cc: Krzysztof Karas <krzysztof.karas@intel.com> Cc: Tvrtko Ursulin <tursulin@ursulin.net> Closes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/173 Signed-off-by: Simon Fairweather <simon.n.fairweather@gmail.com> Signed-off-by: Kamil Konieczny <kamil.konieczny@linux.intel.com> Reviewed-by: Krzysztof Karas <krzysztof.karas@intel.com>
Diffstat (limited to 'man')
-rw-r--r--man/intel_gpu_top.rst10
1 files changed, 9 insertions, 1 deletions
diff --git a/man/intel_gpu_top.rst b/man/intel_gpu_top.rst
index 44a54a5f2..20204fdcf 100644
--- a/man/intel_gpu_top.rst
+++ b/man/intel_gpu_top.rst
@@ -9,7 +9,7 @@ Display a top-like summary of Intel GPU usage
:Author: IGT Developers <igt-dev@lists.freedesktop.org>
:Date: 2023-01-27
:Version: |PACKAGE_STRING|
-:Copyright: 2009,2011,2012,2016,2018,2019,2020,2023 Intel Corporation
+:Copyright: 2009,2011,2012,2016,2018,2019,2020,2023,2025 Intel Corporation
:Manual section: |MANUAL_SECTION|
:Manual group: |MANUAL_GROUP|
@@ -58,6 +58,14 @@ OPTIONS
-m
Default to showing all memory regions separately.
+-n <number>
+ Specify application running time as <number - 1> * <refresh period>.
+ Passing 0 (default) or negative number will run it in infinite loop
+ until user breaks with q or Ctrl-C or sends a signal. With options
+ -c, -J or -l it will print info <number> times.
+
+
+
RUNTIME CONTROL
===============