[Intel-gfx] [PATCH 9/9] intel_gpu_top: hide absolute counter values

Robert Bragg robert.bragg at intel.com
Fri Jul 18 17:38:53 CEST 2014


The absolute values of the pipeline statistic counters are more
distracting than they are useful.
---
 tools/intel_gpu_top.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/tools/intel_gpu_top.c b/tools/intel_gpu_top.c
index e5582fd..0ef26f8 100644
--- a/tools/intel_gpu_top.c
+++ b/tools/intel_gpu_top.c
@@ -809,9 +809,8 @@ int main(int argc, char **argv)
 						printf("context = %" PRIx32 " : %d%% active",
 						       context->id, percent);
 					} else if (!context->stats[stat_i].warped) {
-						printf("   %-15s: %" PRIu64 " (%" PRIu64 "/sec)",
+						printf("   %-15s: (%" PRIu64 "/sec)",
 						       stats_reg_names[stat_i],
-						       context->stats[stat_i].end,
 						       (context->stats[stat_i].end -
 							context->stats[stat_i].start));
 					} else {
-- 
2.0.1

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




More information about the Intel-gfx mailing list