diff options
author | Keith Whitwell <keithw@vmware.com> | 2009-09-21 15:52:17 +0100 |
---|---|---|
committer | Keith Whitwell <keithw@vmware.com> | 2009-09-21 15:57:14 +0100 |
commit | 6ab7c127f77432262a5ca55100e767f1ba4f99a8 (patch) | |
tree | e8331bc8db89cf3756a954eb3428006476409a18 /progs | |
parent | ed63bd62d85c92555c1d310ae46064ad3c7d47ee (diff) |
progs/perf: human-format vertexrate output
Diffstat (limited to 'progs')
-rw-r--r-- | progs/perf/vertexrate.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/progs/perf/vertexrate.c b/progs/perf/vertexrate.c index b84b22a4c4..21231d8208 100644 --- a/progs/perf/vertexrate.c +++ b/progs/perf/vertexrate.c @@ -241,31 +241,31 @@ PerfDraw(void) rate = PerfMeasureRate(DrawImmediate); rate *= NumVerts; - perf_printf(" Immediate mode: %.1f verts/sec\n", rate); + perf_printf(" Immediate mode: %s verts/sec\n", PerfHumanFloat(rate)); rate = PerfMeasureRate(DrawArraysMem); rate *= NumVerts; - perf_printf(" glDrawArrays: %.1f verts/sec\n", rate); + perf_printf(" glDrawArrays: %s verts/sec\n", PerfHumanFloat(rate)); rate = PerfMeasureRate(DrawArraysVBO); rate *= NumVerts; - perf_printf(" VBO glDrawArrays: %.1f verts/sec\n", rate); + perf_printf(" VBO glDrawArrays: %s verts/sec\n", PerfHumanFloat(rate)); rate = PerfMeasureRate(DrawElementsMem); rate *= NumVerts; - perf_printf(" glDrawElements: %.1f verts/sec\n", rate); + perf_printf(" glDrawElements: %s verts/sec\n", PerfHumanFloat(rate)); rate = PerfMeasureRate(DrawElementsBO); rate *= NumVerts; - perf_printf(" VBO glDrawElements: %.1f verts/sec\n", rate); + perf_printf(" VBO glDrawElements: %s verts/sec\n", PerfHumanFloat(rate)); rate = PerfMeasureRate(DrawRangeElementsMem); rate *= NumVerts; - perf_printf(" glDrawRangeElements: %.1f verts/sec\n", rate); + perf_printf(" glDrawRangeElements: %s verts/sec\n", PerfHumanFloat(rate)); rate = PerfMeasureRate(DrawRangeElementsBO); rate *= NumVerts; - perf_printf(" VBO glDrawRangeElements: %.1f verts/sec\n", rate); + perf_printf(" VBO glDrawRangeElements: %s verts/sec\n", PerfHumanFloat(rate)); exit(0); } |