hpmcount


hpmcount:

  Machines: Platinum
  Location: /usr/apps/tools/bin
  Category: hardware performance counting

  Documentation: hpmcount -h (see output below)

  Description:
    hpmcount (Luiz Derose, IBM) is a command-line utility to
    provide hardware performance counting on an unmodified
    IA-32 executable.  It performs much the same functions
    as perfctr's "perfex", but it substantially easier to use and 
    provides pre-defined "event sets" from which derived statistics
    are automatically calculated.

  User work required: none

  Notes: there is a companion library (libhpm) and an
    associated graphical tool (hpmviz).  Location is
    /usr/apps/tools/hpm on Pt.

------------------------------------------------------------

 hpmcount version 2.4.2
 usage:
   hpmcount [-o <file name>] [-n] [-e ev[,ev]*] [-s <set>] <program>
    OR 
   hpmcount [-h] [-l]
 where: <program>      program to be executed
        -h             displays this help message
        -o <file name> output file name
        -n             no hpmcount output in stdout when "-o" flag is used
        -l             list events
        -e ev0,ev1,... list of event numbers, separeted by commas,where
                       event<i> corresponds to event selected for counter <i>
        -s             pre-defined set of events, where:
                       event set 1 (default):
                         P6_FLOPS  - Floating Point Instructions
                         P6_DATA_MEM_REFS - Loads and stores
                         TSC - time-stamp counter
                       event set 2:
                         P6_DCU_LINES_IN  - D1 misses
                         P6_DATA_MEM_REFS - Loads and stores
                         TSC - time-stamp counter
                       event set 3:
                         P6_L2_RQSTS  - Total L1 misses
                         P6_L2_LINES_IN - Total L2 misses
                         TSC - time-stamp counter
                       event set 4:
                         P6_INST_DECODED - Instructions issued
                         P6_INST_RETIRED - Instructions completed
                         TSC - time-stamp counter
                       event set 5:
                         P6_DATA_MEM_REFS - Loads and stores
                         P6_CPU_CLK_UNHALTED - User cycles
                         TSC - time-stamp counter
                       event set 6:
                         P6_FLOPS  - Floating Point Instructions
                         P6_CPU_CLK_UNHALTED - User cycles
                         TSC - time-stamp counter



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index