The hpmcount command

The following is example output from the of the hpmcount command.

# hpmcount -m cpi_breakdown ls
bar           foo
 Workload context: ls (pid:42234)
 Execution time (wall clock time): 0.004222 seconds
 ########  Resource Usage Statistics  ########
 Total amount of time in user mode            : 0.001783 seconds
 Total amount of time in system mode          : 0.000378 seconds
 Maximum resident set size                    : 220 Kbytes
 Average shared memory use in text segment    : 0 Kbytes*sec
 Average unshared memory use in data segment  : 0 Kbytes*sec
 Number of page faults without I/O activity   : 63
 Number of page faults with I/O activity      : 0
 Number of times process was swapped out      : 0
 Number of times file system performed INPUT  : 0
 Number of times file system performed OUTPUT : 0
 Number of IPC messages sent                  : 0
 Number of IPC messages received              : 0
 Number of signals delivered                  : 0
 Number of voluntary context switches         : 0
 Number of involuntary context switches       : 0
 #######  End of Resource Statistics  ########
 Counting mode: user
  PM_1PLUS_PPC_CMPL (One or more PPC instruction completed)   :    143749896
  PM_GCT_EMPTY_CYC (Cycles GCT empty)                         :     12905400
  PM_GRP_CMPL (Group completed)                               :    144626424
  PM_CYC (Processor cycles)                                   :    434717274
  PM_INST_CMPL (Instructions completed)                       :    193121895
  PM_RUN_CYC (Run cycles)                                     :    378397903
  PM_GCT_NOSLOT_CYC (Cycles no GCT slot allocated)            :     87592746
  PM_GCT_NOSLOT_IC_MISS                                       :     16066248
    (No slot in GCT caused by I cache miss)
  PM_GCT_NOSLOT_SRQ_FULL (No slot in GCT caused by SRQ full)  :            0
  PM_GCT_NOSLOT_BR_MPRED                                      :     27869700
    (No slot in GCT caused by branch mispredict)
  PM_GRP_MRK (Group marked in IDU)                            :      6041616
  PM_CMPLU_STALL_LSU                                          :    117973392
    (Completion stall caused by LSU instruction)
  PM_IOPS_CMPL (Internal operations completed)                :    162398665
  PM_CMPLU_STALL_REJECT (Completion stall caused by reject)   :     24318036
  PM_CMPLU_STALL_DCACHE_MISS                                  :     25055262
    (Completion stall caused by D cache miss)
  PM_CMPLU_STALL_ERAT_MISS                                    :     17332764
    (Completion stall caused by ERAT miss)
  PM_GRP_IC_MISS_BR_REDIR_NONSPEC                             :      2551038
   (Group experienced non-speculative I cache miss or branch redirect)
  PM_CMPLU_STALL_FXU                                          :     69575412
    (Completion stall caused by FXU instruction)
  PM_CMPLU_STALL_DIV                                          :     45664068
    (Completion stall caused by DIV instruction)
  PM_FPU_FULL_CYC (Cycles FPU issue queue full)               :        27660
  PM_CMPLU_STALL_FDIV                                         :       319104
    (Completion stall caused by FDIV or FQRT instruction)
  PM_CMPLU_STALL_FPU                                          :       500274
    (Completion stall caused by FPU instruction)
  Derived metric group: cpi_breakdown
  Total cycles                                                  : 2.250999
      Completion cycles                                         : 0.748887
      Completion Table empty (GCT empty)                        : 0.266825
          I-Cache Miss Penalty                                  : 0.083192
          Branch Mispredication Penalty                         : 0.144311
          Others GCT stalls                                     : 0.039322
      Completion Stall cycles                                   : 1.435288
          Stall by LSU instruction                              : 0.610875
              Stall by LSU Reject                               : 0.125921
                  Stall by LSU Translation Reject               : 0.089750
                  Stall by LSU Other Reject                     : 0.036170
              Stall by LSU D-cache miss                         : 0.129738
              Stall by LSU basic latency, LSU Flush penalty     : 0.355217
          Stall by FXU instruction                              : 0.360267
              Stall by any form of DIV/MTSPR/MFSPR instruction  : 0.236452
              Stall by FXU basic latency                        : 0.123815
          Stall by FPU instruction                              : 0.002590
              Stall by any form of FDIV/FSQRT instruction       : 0.001652
              Stall by FPU basic latency                        : 0.000938
          Stall by others                                       : 0.462493