The current header is misleading. Fix it.

Signed-off-by: Mel Gorman <m...@csn.ul.ie>
---
 cpupcstat |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/cpupcstat b/cpupcstat
index deca179..a951f66 100755
--- a/cpupcstat
+++ b/cpupcstat
@@ -120,9 +120,12 @@ sub run_profile()
        if ($instruct_ratio) {
                printf("%24s\n", "Instructions/TLB Miss\n");
                $ins_scale = $collector->samples("instructions");
-       } elsif ($cycle_ratio || $service) {
+       } elsif ($cycle_ratio) {
                printf("%24s\n", "Cycles/TLB Miss\n");
                $cyc_scale = $collector->samples("timer");
+       } elsif ($service) {
+               printf("%24s\n", "TLB Miss %age Time\n");
+               $cyc_scale = $collector->samples("timer");
        } else {
                print("\n");
        }
-- 
1.7.1


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to