MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


CPU Performance Counters Library Functions   genericevents(3CPC)



NAME
     genericevents - generic performance counter events

DESCRIPTION
     The Solaris  cpc(3CPC)  subsystem  implements  a  number  of
     predefined, generic performance counter events. Each generic
     event maps onto a single platform specific event and one  or
     more  optional attributes.  Each hardware platform only need
     support a subset of the total set of generic events.


     The defined generic events are:

     PAPIbrcn      Conditional branch instructions


     PAPIbrins     Branch instructions taken


     PAPIbrmsp     Conditional branch instructions mispredicted


     PAPIbrntk     Conditional branch instructions not taken


     PAPIbrprc     Conditional  branch  instructions  correctly
                     predicted


     PAPIbrucn     Unconditional branch instructions


     PAPIbruidl    Cycles branch units are idle


     PAPIbtacm     Branch target address cache misses


     PAPIcacln     Requests for exclusive access to clean cache
                     line


     PAPIcainv     Requests for cache invalidation


     PAPIcaitv     Requests for cache line intervention


     PAPIcashr     Request for exclusive access to shared cache
                     line





SunOS 5.11           Last change: 8 Oct 2008                    1






CPU Performance Counters Library Functions   genericevents(3CPC)



     PAPIcasnp     Request for cache snoop


     PAPIcsrfal    Failed conditional store instructions


     PAPIcsrsuc    Successful conditional store instructions


     PAPIcsrtot    Total conditional store instructions


     PAPIfadins    Floating point add instructions


     PAPIfdvins    Floating point divide instructions


     PAPIfmains    Floating point multiply and add instructions


     PAPIfmlins    Floating point multiply instructions


     PAPIfnvins    Floating point inverse instructions


     PAPIfpops     Floating point operations


     PAPIfpstal    Cycles the floating point unit stalled


     PAPIfpuidl    Cycles the floating point units are idle


     PAPIfsqins    Floating point sqrt instructions


     PAPIfulccy    Cycles with maximum instructions completed


     PAPIfulicy    Cycles with maximum instruction issue


     PAPIfxuidl    Cycles when units are idle


     PAPIhwint     Hardware interrupts






SunOS 5.11           Last change: 8 Oct 2008                    2






CPU Performance Counters Library Functions   genericevents(3CPC)



     PAPIintins    Integer instructions


     PAPItotcyc    Total cycles


     PAPItotiis    Instructions issued


     PAPItotins    Instructions completed


     PAPIvecins    VectorSIMD instructions


     PAPIl1dca     Level 1 data cache accesses


     PAPIl1dch     Level 1 data cache hits


     PAPIl1dcm     Level 1 data cache misses


     PAPIl1dcr     Level 1 data cache reads


     PAPIl1dcw     Level 1 data cache writes


     PAPIl1ica     Level 1 instruction cache accesses


     PAPIl1ich     Level 1 instruction cache hits


     PAPIl1icm     Level 1 instruction cache misses


     PAPIl1icr     Level 1 instruction cache reads


     PAPIl1icw     Level 1 instruction cache writes


     PAPIl1ldm     Level 1 cache load misses


     PAPIl1stm     Level 1 cache store misses






SunOS 5.11           Last change: 8 Oct 2008                    3






CPU Performance Counters Library Functions   genericevents(3CPC)



     PAPIl1tca     Level 1 cache accesses


     PAPIl1tch     Level 1 cache hits


     PAPIl1tcm     Level 1 cache misses


     PAPIl1tcr     Level 1 cache reads


     PAPIl1tcw     Level 1 cache writes


     PAPIl2dca     Level 2 data cache accesses


     PAPIl2dch     Level 2 data cache hits


     PAPIl2dcm     Level 2 data cache misses


     PAPIl2dcr     Level 2 data cache reads


     PAPIl2dcw     Level 2 data cache writes


     PAPIl2ica     Level 2 instruction cache accesses


     PAPIl2ich     Level 2 instruction cache hits


     PAPIl2icm     Level 2 instruction cache misses


     PAPIl2icr     Level 2 instruction cache reads


     PAPIl2icw     Level 2 instruction cache writes


     PAPIl2ldm     Level 2 cache load misses


     PAPIl2stm     Level 2 cache store misses






SunOS 5.11           Last change: 8 Oct 2008                    4






CPU Performance Counters Library Functions   genericevents(3CPC)



     PAPIl2tca     Level 2 cache accesses


     PAPIl2tch     Level 2 cache hits


     PAPIl2tcm     Level 2 cache misses


     PAPIl2tcr     Level 2 cache reads


     PAPIl2tcw     Level 2 cache writes


     PAPIl3dca     Level 3 data cache accesses


     PAPIl3dch     Level 3 data cache hits


     PAPIl3dcm     Level 3 data cache misses


     PAPIl3dcr     Level 3 data cache reads


     PAPIl3dcw     Level 3 data cache writes


     PAPIl3ica     Level 3 instruction cache accesses


     PAPIl3ich     Level 3 instruction cache hits


     PAPIl3icm     Level 3 instruction cache misses


     PAPIl3icr     Level 3 instruction cache reads


     PAPIl3icw     Level 3 instruction cache writes


     PAPIl3ldm     Level 3 cache load misses


     PAPIl3stm     Level 3 cache store misses






SunOS 5.11           Last change: 8 Oct 2008                    5






CPU Performance Counters Library Functions   genericevents(3CPC)



     PAPIl3tca     Level 3 cache accesses


     PAPIl3tch     Level 3 cache hits


     PAPIl3tcm     Level 3 cache misses


     PAPIl3tcr     Level 3 cache reads


     PAPIl3tcw     Level 3 cache writes


     PAPIldins     Load Instructions


     PAPIlstins    Loadstore Instructions


     PAPIlsuidl    Cycles load store units are idle


     PAPImemrcy    Cycles stalled waiting for memory reads


     PAPImemscy    Cycles stalled waiting for memory accesses


     PAPImemwcy    Cycles stalled waiting for memory writes


     PAPIprfdm     Data prefetch cache misses


     PAPIresstl    Cycles stalled on any resource


     PAPIsrins     Store Instructions


     PAPIstlccy    Cycles with no instructions completed


     PAPIsycins    Synchronization instructions completed


     PAPItlbdm     Data TLB misses






SunOS 5.11           Last change: 8 Oct 2008                    6






CPU Performance Counters Library Functions   genericevents(3CPC)



     PAPItlbim     Instruction TLB misses


     PAPItlbsd     TLB shootdowns


     PAPItlbtl     Total TLB misses



     The tables below define mappings of generic events to  plat-
     form  events  and any associated attribute for all supported
     platforms.

  AMD Opteron Family 0xF Processor
       Generic Event               Platform Event              Unit Mask
     
     PAPIbrins          FRretiredbrancheswexcpintr    0x0
     PAPIbrmsp          FRretiredbranchesmispred        0x0
     PAPIbrtkn          FRretiredtakenbranches          0x0
     PAPIfpops          FPdispatchedfpuops              0x3
     PAPIfadins         FPdispatchedfpuops              0x1
     PAPIfmlins         FPdispatchedfpuops              0x2
     PAPIfpuidl         FPcyclesnofpuopsretired       0x0
     PAPItotcyc         BUcpuclkunhalted                0x0
     PAPItotins         FRretiredx86instrwexcpintr   0x0
     PAPIl1dca          DCaccess                          0x0
     PAPIl1dcm          DCmiss                            0x0
     PAPIl1ldm          DCrefillfromL2                  0xe
     PAPIl1stm          DCrefillfromL2                  0x10
     PAPIl1ica          ICfetch                           0x0
     PAPIl1icm          ICmiss                            0x0
     PAPIl1icr          ICfetch                           0x0
     PAPIl2dch          DCrefillfromL2                  0x1e
     PAPIl2dcm          DCrefillfromsystem              0x1e
     PAPIl2dcr          DCrefillfromL2                  0xe
     PAPIl2dcw          DCrefillfromL2                  0x10
     PAPIl2ich          ICrefillfromL2                  0x0
     PAPIl2icm          ICrefillfromsystem              0x0
     PAPIl2ldm          DCrefillfromsystem              0xe
     PAPIl2stm          DCrefillfromsystem              0x10
     PAPIresstl         FRdispatchstalls                 0x0
     PAPIstlicy         FRnothingtodispatch             0x0
     PAPIhwint          FRtakenhardwareintrs            0x0
     PAPItlbdm          DCdtlbL1missL2miss            0x0
     PAPItlbim          ICitlbL1missL2miss            0x0
     PAPIfpins          FRretiredfpuinstr               0xd
     PAPIvecins         FRretiredfpuinstr               0x4


  AMD Opteron Family 0x10 Processors
       Generic Event               Platform Event              Event Mask



SunOS 5.11           Last change: 8 Oct 2008                    7






CPU Performance Counters Library Functions   genericevents(3CPC)



     
     PAPIbrins          FRretiredbrancheswexcpintr    0x0
     PAPIbrmsp          FRretiredbranchesmispred        0x0
     PAPIbrtkn          FRretiredtakenbranches          0x0
     PAPIfpops          FPdispatchedfpuops              0x3
     PAPIfadins         FPdispatchedfpuops              0x1
     PAPIfmlins         FPdispatchedfpuops              0x2
     PAPIfpuidl         FPcyclesnofpuopsretired       0x0
     PAPItotcyc         BUcpuclkunhalted                0x0
     PAPItotins         FRretiredx86instrwexcpintr   0x0
     PAPIl1dca          DCaccess                          0x0
     PAPIl1dcm          DCmiss                            0x0
     PAPIl1ldm          DCrefillfromL2                  0xe
     PAPIl1stm          DCrefillfromL2                  0x10
     PAPIl1ica          ICfetch                           0x0
     PAPIl1icm          ICmiss                            0x0
     PAPIl1icr          ICfetch                           0x0
     PAPIl2dch          DCrefillfromL2                  0x1e
     PAPIl2dcm          DCrefillfromsystem              0x1e
     PAPIl2dcr          DCrefillfromL2                  0xe
     PAPIl2dcw          DCrefillfromL2                  0x10
     PAPIl2ich          ICrefillfromL2                  0x0
     PAPIl2icm          ICrefillfromsystem              0x0
     PAPIl2ldm          DCrefillfromsystem              0xe
     PAPIl2stm          DCrefillfromsystem              0x10
     PAPIresstl         FRdispatchstalls                 0x0
     PAPIstlicy         FRnothingtodispatch             0x0
     PAPIhwint          FRtakenhardwareintrs            0x0
     PAPItlbdm          DCdtlbL1missL2miss            0x7
     PAPItlbim          ICitlbL1missL2miss            0x3
     PAPIfpins          FRretiredfpuinstr               0xd
     PAPIvecins         FRretiredfpuinstr               0x4
     PAPIl3dcr          L3readreq                        0xf1
     PAPIl3icr          L3readreq                        0xf2
     PAPIl3tcr          L3readreq                        0xf7
     PAPIl3stm          L3miss                            0xf4
     PAPIl3ldm          L3miss                            0xf3
     PAPIl3tcm          L3miss                            0xf7


  Intel Pentium IV Processor
       Generic Event          Platform Event          Event Mask
     
     PAPIbrmsp          branchretired            0xa
     PAPIbrins          branchretired            0xf
     PAPIbrtkn          branchretired            0xc
     PAPIbrntk          branchretired            0x3
     PAPIbrprc          branchretired            0x5
     PAPItotins         instrretired             0x3
     PAPItotcyc         globalpowerevents       0x1
     PAPItlbdm          pagewalktype            0x1
     PAPItlbim          pagewalktype            0x2



SunOS 5.11           Last change: 8 Oct 2008                    8






CPU Performance Counters Library Functions   genericevents(3CPC)



     PAPItlbtm          pagewalktype            0x3
     PAPIl2ldm          BSQcachereference       0x100
     PAPIl2stm          BSQcachereference       0x400
     PAPIl2tcm          BSQcachereference       0x500


  Intel Pentium Pro/I/I Processor
       Generic Event          Platform Event          Event Mask
     
     PAPIcashr          l2ifetch                 0xf
     PAPIcacln          bustranrfo              0x0
     PAPIcaitv          bustraninval            0x0
     PAPItlbim          itlbmiss                 0x0
     PAPIbtacm          btbmisses                0x0
     PAPIhwint          hwintrx                 0x0
     PAPIbrcn           brinstretired           0x0
     PAPIbrtkn          brtakenretired          0x0
     PAPIbrmsp          brmisspredtakenret    0x0
     PAPIbrins          brinstretired           0x0
     PAPIresstl         resourcestalls           0x0
     PAPItotiis         instdecoder              0x0
     PAPItotins         instretired              0x0
     PAPItotcyc         cpuclkunhalted          0x0
     PAPIl1dcm          dculinesin              0x0
     PAPIl1icm          l2ifetch                 0xf
     PAPIl1tcm          l2rqsts                  0xf
     PAPIl1dca          datamemrefs             0x0
     PAPIl1ldm          l2ld                     0xf
     PAPIl1stm          l2st                     0xf
     PAPIl2icm          bustranifetch           0x0
     PAPIl2dcr          l2ld                     0xf
     PAPIl2dcw          l2st                     0xf
     PAPIl2tcm          l2linesin               0x0
     PAPIl2tca          l2rqsts                  0xf
     PAPIl2tcw          l2st                     0xf
     PAPIl2stm          l2mlinesinm            0x0
     PAPIfpins          flops                     0x0
     PAPIfpops          flops                     0x0
     PAPIfmlins         mul                       0x0
     PAPIfdvins         div                       0x0


  UltraSPARC I/I Processor
            Generic Event                 Platform Event
     
     PAPItotcyc                  Cyclecnt
     PAPItotins                  Instrcnt
     PAPItotiis                  Instrcnt
     PAPIl1dcr                   DCrd
     PAPIl1dcw                   DCwr
     PAPIl1ica                   ICref
     PAPIl1ich                   IChit



SunOS 5.11           Last change: 8 Oct 2008                    9






CPU Performance Counters Library Functions   genericevents(3CPC)



     PAPIl2tca                   ECref
     PAPIl2dch                   ECrdhit
     PAPIl2tch                   EChit
     PAPIl2ich                   ECichit
     PAPIcainv                   ECsnoopinv
     PAPIbrmsp                   Dispatch0mispred
     PAPIcasnp                   ECsnoopcb


  UltraSPARC I/Ii/IV Processor
            Generic Event                 Platform Event
     
     PAPItotcyc                  Cyclecnt
     PAPItotins                  Instrcnt
     PAPItotiis                  Instrcnt
     PAPIfmains                  FApipecompletion
     PAPIfmlins                  FMpipecompletion
     PAPIl1dcr                   DCrd
     PAPIl1dcw                   DCwr
     PAPIl1ica                   ICref
     PAPIl1icm                   ICmiss
     PAPIl2tca                   ECref
     PAPIl2ldm                   ECrdmiss
     PAPIl2tcm                   ECmisses
     PAPIl2icm                   ECicmiss
     PAPItlbdm                   DTLBmiss
     PAPItlbim                   ITLBmiss
     PAPIbrntk                   IUStatBrcountuntaken
     PAPIbrmsp                   Dispatch0mispred
     PAPIbrtkn                   IUStatBrcounttaken
     PAPIcainv                   ECsnoopinv
     PAPIcasnp                   ECsnoopcb


  UltraSPARC IV] Processor
            Generic Event                 Platform Event
     
     PAPItotcyc                  Cyclecnt
     PAPItotins                  Instrcnt
     PAPItotiis                  Instrcnt
     PAPIfmains                  FApipecompletion
     PAPIfmlins                  FMpipecompletion
     PAPIl1dcr                   DCrd
     PAPIl1stm                   DCwrmiss
     PAPIl1ica                   ICref
     PAPIl1icm                   ICL2req
     PAPIl1ldm                   DCrdmiss
     PAPIl1dcw                   DCwr
     PAPIl2tca                   L2ref
     PAPIl2ldm                   L2rdmiss
     PAPIl2icm                   L2ICmiss
     PAPIl2stm                   L2writemiss



SunOS 5.11           Last change: 8 Oct 2008                   10






CPU Performance Counters Library Functions   genericevents(3CPC)



     PAPIl2tcm                   L2miss
     PAPIl3tcm                   L3miss
     PAPIl3icm                   L3ICmiss
     PAPIl3ldm                   L3rdmiss
     PAPItlbim                   ITLBmiss
     PAPItlbdm                   DTLBmiss
     PAPIbrtkn                   IUstatbrcounttaken
     PAPIbrntk                   IUstatbrcountuntaken


  Niagara T1 Processor
            Generic Event                 Platform Event
     
     PAPItotcyc                  Cyclecnt
     PAPIl2icm                   L2imiss
     PAPIl2ldm                   L2dmissld
     PAPIfpops                   FPinstrcnt
     PAPIl1icm                   ICmiss
     PAPIl1dcm                   DCmiss
     PAPItlbim                   ITLBmiss
     PAPItlbdm                   DTLBmiss


  Niagara T2 Processor
            Generic Event                 Platform Event
     
     PAPItotins                  Instrcnt
     PAPIl1dcm                   DCmiss
     PAPIl1icm                   ICmiss
     PAPIl2icm                   L2imiss
     PAPIl2ldm                   L2dmissld
     PAPItlbdm                   DTLBmiss
     PAPItlbim                   ITLBmiss
     PAPItlbtm                   TLBmiss
     PAPIbrtkn                   Brtaken
     PAPIbrins                   Brcompleted
     PAPIldins                   Instrld
     PAPIsrins                   Instrst


  SPARC64 VI/VI Processor
            Generic Event                 Platform Event
     
     PAPItotcyc                  cyclecounts
     PAPItotins                  instructioncounts
     PAPIbrtkn                   branchinstructions
     PAPIfpops                   floatinginstructions
     PAPIfmains                  impdep2instructions
     PAPIl1dcm                   opriureqmigo
     PAPIl1icm                   ifriureqmigo
     PAPItlbdm                   trapDMUmiss
     PAPItlbim                   trapIMUmiss



SunOS 5.11           Last change: 8 Oct 2008                   11






CPU Performance Counters Library Functions   genericevents(3CPC)



ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Volatile                    
    


SEE ALSO
     cpc(3CPC), attributes(5)

NOTES
     Generic names prefixed  with  "PAPI"  are  taken  from  the
     University       of      Tennessee's      PAPI      project,
     http:/icl.cs.utk.edu/papi.



































SunOS 5.11           Last change: 8 Oct 2008                   12



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™