Simpleperf: improve output of stat command.

Before this change:
$sudo simpleperf record -a sleep 1
Performance counter statistics:

                    5994649915(scaled)  cpu-cycles
                    8785461570(scaled)  stalled-cycles-frontend
                    6089237592(scaled)  instructions
                    1086987265(scaled)  branch-instructions
                      11019426(scaled)  branch-misses
                   40306210522         task-clock
                         21955         context-switches
                         16659         page-faults

Total test time: 1.007973 seconds.

After this change:
$sudo simpleperf record -a sleep 1
Performance counter statistics:

    11,768,763,985  cpu-cycles                # 11.675808 Ghz                     (83%)
    16,142,943,081  stalled-cycles-frontend   # 16.015 G/sec                      (67%)
    17,286,201,730  instructions              # 0.680818 cycles per instruction   (83%)
     3,141,529,369  branch-instructions       # 3.117 G/sec                       (84%)
        18,168,963  branch-misses             # 0.578348% miss rate               (83%)
  40222.432118(ms)  task-clock                # 3990.473223% cpu usage            (100%)
            19,240  context-switches          # 19.088 K/sec                      (100%)
             9,302  page-faults               # 9.229 K/sec                       (100%)

Total test time: 1.007961 seconds.

Change-Id: I5590699957650e246b14b3d2b405108483631908
6 files changed