generic_events(3cpc) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

generic_events(3cpc)

CPU Performance Counters Library Functions                generic_events(3CPC)



NAME
       generic_events - generic performance counter events

DESCRIPTION
       The  Oracle  Solaris  cpc(3CPC) subsystem implements a number of prede‐
       fined, 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:

       PAPI_br_cn      Conditional branch instructions


       PAPI_br_ins     Branch instructions


       PAPI_br_msp     Conditional branch instructions mispredicted


       PAPI_br_ntk     Conditional branch instructions not taken


       PAPI_br_prc     Conditional branch instructions correctly predicted


       PAPI_br_tkn     Conditional branch instructions taken


       PAPI_br_ucn     Unconditional branch instructions


       PAPI_bru_idl    Cycles branch units are idle


       PAPI_btac_m     Branch target address cache misses


       PAPI_ca_cln     Requests for exclusive access to clean cache line


       PAPI_ca_inv     Requests for cache invalidation


       PAPI_ca_itv     Requests for cache line intervention


       PAPI_ca_shr     Request for exclusive access to shared cache line


       PAPI_ca_snp     Request for cache snoop


       PAPI_csr_fal    Failed conditional store instructions


       PAPI_csr_suc    Successful conditional store instructions


       PAPI_csr_tot    Total conditional store instructions


       PAPI_fad_ins    Floating point add instructions


       PAPI_fdv_ins    Floating point divide instructions


       PAPI_fma_ins    Floating point multiply and add instructions


       PAPI_fml_ins    Floating point multiply instructions


       PAPI_fnv_ins    Floating point inverse instructions


       PAPI_fp_ins     Floating point instructions


       PAPI_fp_ops     Floating point operations


       PAPI_fp_stal    Cycles the floating point unit stalled


       PAPI_fpu_idl    Cycles the floating point units are idle


       PAPI_fsq_ins    Floating point sqrt instructions


       PAPI_ful_ccy    Cycles with maximum instructions completed


       PAPI_ful_icy    Cycles with maximum instruction issue


       PAPI_fxu_idl    Cycles when units are idle


       PAPI_hw_int     Hardware interrupts


       PAPI_int_ins    Integer instructions


       PAPI_tot_cyc    Total cycles


       PAPI_tot_iis    Instructions issued


       PAPI_tot_ins    Instructions completed


       PAPI_vec_ins    VectorSIMD instructions


       PAPI_l1_dca     Level 1 data cache accesses


       PAPI_l1_dch     Level 1 data cache hits


       PAPI_l1_dcm     Level 1 data cache misses


       PAPI_l1_dcr     Level 1 data cache reads


       PAPI_l1_dcw     Level 1 data cache writes


       PAPI_l1_ica     Level 1 instruction cache accesses


       PAPI_l1_ich     Level 1 instruction cache hits


       PAPI_l1_icm     Level 1 instruction cache misses


       PAPI_l1_icr     Level 1 instruction cache reads


       PAPI_l1_icw     Level 1 instruction cache writes


       PAPI_l1_ldm     Level 1 cache load misses


       PAPI_l1_stm     Level 1 cache store misses


       PAPI_l1_tca     Level 1 cache accesses


       PAPI_l1_tch     Level 1 cache hits


       PAPI_l1_tcm     Level 1 cache misses


       PAPI_l1_tcr     Level 1 cache reads


       PAPI_l1_tcw     Level 1 cache writes


       PAPI_l2_dca     Level 2 data cache accesses


       PAPI_l2_dch     Level 2 data cache hits


       PAPI_l2_dcm     Level 2 data cache misses


       PAPI_l2_dcr     Level 2 data cache reads


       PAPI_l2_dcw     Level 2 data cache writes


       PAPI_l2_ica     Level 2 instruction cache accesses


       PAPI_l2_ich     Level 2 instruction cache hits


       PAPI_l2_icm     Level 2 instruction cache misses


       PAPI_l2_icr     Level 2 instruction cache reads


       PAPI_l2_icw     Level 2 instruction cache writes


       PAPI_l2_ldm     Level 2 cache load misses


       PAPI_l2_stm     Level 2 cache store misses


       PAPI_l2_tca     Level 2 cache accesses


       PAPI_l2_tch     Level 2 cache hits


       PAPI_l2_tcm     Level 2 cache misses


       PAPI_l2_tcr     Level 2 cache reads


       PAPI_l2_tcw     Level 2 cache writes


       PAPI_l3_dca     Level 3 data cache accesses


       PAPI_l3_dch     Level 3 data cache hits


       PAPI_l3_dcm     Level 3 data cache misses


       PAPI_l3_dcr     Level 3 data cache reads


       PAPI_l3_dcw     Level 3 data cache writes


       PAPI_l3_ica     Level 3 instruction cache accesses


       PAPI_l3_ich     Level 3 instruction cache hits


       PAPI_l3_icm     Level 3 instruction cache misses


       PAPI_l3_icr     Level 3 instruction cache reads


       PAPI_l3_icw     Level 3 instruction cache writes


       PAPI_l3_ldm     Level 3 cache load misses


       PAPI_l3_stm     Level 3 cache store misses


       PAPI_l3_tca     Level 3 cache accesses


       PAPI_l3_tch     Level 3 cache hits


       PAPI_l3_tcm     Level 3 cache misses


       PAPI_l3_tcr     Level 3 cache reads


       PAPI_l3_tcw     Level 3 cache writes


       PAPI_ld_ins     Load Instructions


       PAPI_lst_ins    Loadstore Instructions


       PAPI_lsu_idl    Cycles load store units are idle


       PAPI_mem_rcy    Cycles stalled waiting for memory reads


       PAPI_mem_scy    Cycles stalled waiting for memory accesses


       PAPI_mem_wcy    Cycles stalled waiting for memory writes


       PAPI_prf_dm     Data prefetch cache misses


       PAPI_res_stl    Cycles stalled on any resource


       PAPI_sr_ins     Store Instructions


       PAPI_stl_ccy    Cycles with no instructions completed


       PAPI_syc_ins    Synchronization instructions completed


       PAPI_tlb_dm     Data TLB misses


       PAPI_tlb_im     Instruction TLB misses


       PAPI_tlb_sd     TLB shootdowns


       PAPI_tlb_tl     Total TLB misses



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

   Intel Core2 Processors
       tab(); lw(1.83i)  lw(1.85i)  lw(1.82i)  lw(1.83i)  lw(1.85i)  lw(1.82i)
       Generic      EventEvent      Code/Unit     MaskPlatform     Event     _
       PAPI_tot_cyc0x3c/0x00cpu_clk_unhalted.thread_p/core
       PAPI_tot_ins0xc0/0x00inst_retired.any_p
       PAPI_br_ins0xc4/0x0cbr_inst_retired.taken
       PAPI_br_msp0xc5/0x00br_inst_retired.mispred      PAPI_br_ntk0xc4/0x03T{
       br_inst_retired.pred_not_taken | pred_taken  T}  PAPI_br_prc0xc4/0x05T{
       br_inst_retired.pred_not_taken          |         pred_taken         T}
       PAPI_hw_int0xc8/0x00hw_int_rvc PAPI_tot_iis0xaa/0x01macro_insts.decoded
       PAPI_l1_dca0x43/0x01l1d_all_ref          PAPI_l1_icm0x81/0x00l1i_misses
       PAPI_l1_icr0x80/0x00l1i_reads     PAPI_l1_tcw0x41/0x0fl1d_cache_st.mesi
       PAPI_l2_stm0x2a/0x41l2_st.self.i_state
       PAPI_l2_tca0x2e/0x4fl2_rqsts.self.demand.mesi
       PAPI_l2_tch0x2e/0x4el2_rqsts.mes
       PAPI_l2_tcm0x2e/0x41l2_rqsts.self.demand.i_state
       PAPI_l2_tcw0x2a/0x4fl2_st.self.mesi
       PAPI_ld_ins0xc0/0x01inst_retired.loads
       PAPI_lst_ins0xc0/0x03inst_retired.loads             |            stores
       PAPI_sr_ins0xc0/0x02inst_retired.stores
       PAPI_tlb_dm0x08/0x01dtlb_misses.any PAPI_tlb_im0x82/0x12itlb.small_miss
       |               large_miss               PAPI_tlb_tl0x0c/0x03page_walks
       PAPI_l1_dcm0xcb/0x01mem_load_retired.l1d_miss



       Fixed-function  counters  do  not require Event Code and Unit Mask. The
       generic event to fixed-function counter event mappings available are:


       tab(); lw(2.75i) lw(2.75i) lw(2.75i)  lw(2.75i)  Generic  EventPlatform
       Fixed-function   Event  _  PAPI_tot_insinstr_retired.any  PAPI_tot_cyc‐
       cpu_clk_unhalted.core/thread


   Intel Processor 5500 Family (Core i7)
       tab(); lw(1.83i)  lw(1.83i)  lw(1.83i)  lw(1.83i)  lw(1.83i)  lw(1.83i)
       Generic      EventEvent      Code/Unit     MaskPlatform     Event     _
       PAPI_tot_cyc0x3c/0x00cpu_clk_unhalted.thread_p
       PAPI_tot_ins0xc0/0x00inst_retired.any_p
       PAPI_br_cn0xc4/0x01br_inst_retired.conditional
       PAPI_hw_int0x1d/0x01hw_int.rcx   PAPI_tot_iis0x17/0x01inst_queue_writes
       PAPI_l1_dca0x43/0x01l1d_all_ref.any  PAPI_l1_dcm0x24/0x03l2_rqsts.loads
       |               rfos              PAPI_l1_dcr0x40/0x0fl1d_cache_ld.mesi
       PAPI_l1_dcw0x41/0x0fl1d_cache_st.mesi     PAPI_l1_ica0x80/0x03l1i.reads
       PAPI_l1_ich0x80/0x01l1i.hits             PAPI_l1_icm0x80/0x02l1i.misses
       PAPI_l1_icr0x80/0x03l1i.reads   PAPI_l1_ldm0x24/0x33l2_rqsts.loads    |
       ifetches                        PAPI_l1_tcm0x24/0xffl2_rqsts.references
       PAPI_l2_ldm0x24/0x02l2_rqsts.ld_miss
       PAPI_l2_stm0x24/0x08l2_rqsts.rfo_miss
       PAPI_l2_tca0x24/0x3fl2_rqsts.loads|rfos|ifetches
       PAPI_l2_tch0x24/0x15l2_rqsts.ld_hit,rfo_hit|ifetch_hit
       PAPI_l2_tcm0x24/0x2al2_rqsts.ld_miss,rfo_miss|ifetch_miss
       PAPI_l2_tcr0x24/0x33l2_rqsts.loads|ifetches
       PAPI_l2_tcw0x24/0x0cl2_rqsts.rfos PAPI_l3_tca0x2e/0x4fl3_lat_cache.ref‐
       erence                          PAPI_l3_tcm0x2e/0x41l3_lat_cache.misses
       PAPI_ld_ins0x0b/0x01mem_inst_retired.loads
       PAPI_lst_ins0x0b/0x03mem_inst_retired.loads|stores
       PAPI_prf_dm0x26/0xf0l2_data_rqsts.prefetch.mesi
       PAPI_sr_ins0x0b/0x02mem_inst_retired.stores
       PAPI_tlb_dm0x49/0x01dtlb_misses.any PAPI_tlb_im0x85/0x01itlb_misses.any



       For fixed-function counter mappings refer to the  Intel  Core2  listing
       above.

   Intel Atom Processors
       tab();  lw(1.83i)  lw(1.83i)  lw(1.83i)  lw(1.83i)  lw(1.83i) lw(1.83i)
       Generic     EventEvent     Code/Unit     MaskPlatform      Event      _
       PAPI_br_ins0xc4/0x00br_inst_retired.any
       PAPI_br_msp0xc5/0x00br_inst_retired.mispred      PAPI_br_ntk0xc4/0x03T{
       br_inst_retired.pred_not_taken       |       mispred_not_taken       T}
       PAPI_br_prc0xc4/0x05T{ br_inst_retired.pred_not_taken |  pred_taken  T}
       PAPI_hw_int0xc8/0x00hw_int_rcv
       PAPI_tot_iis0xaa/0x03macro_insts.all_decoded
       PAPI_l1_dca0x40/0x23l1d_cache.l1                  |                  st
       PAPI_l2_stm0x2a/0x41l2_st.self.i_state
       PAPI_l2_tca0x2e/0x4flongest_lat_cache.reference
       PAPI_l2_tch0x2e/0x4el2_rqsts.mes              PAPI_l2_tcm0x2e/0x41long‐
       est_lat_cache.miss                  PAPI_l2_tcw0x2a/0x4fl2_st.self.mesi
       PAPI_tlb_dm0x08/0x07data_tlb_misses.dtlb.miss
       PAPI_tlb_im0x82/0x02itlb.misses



       For  fixed-function  counter  mappings refer to the Intel Core2 listing
       above.

   AMD Opteron Family 0xF Processor
       tab();  lw(1.83i)  lw(2.3i)  lw(1.37i)  lw(1.83i)  lw(2.3i)   lw(1.37i)
       Generic          EventPlatform         EventUnit         Mask         _
       PAPI_br_insFR_retired_branches_w_excp_intr0x0
       PAPI_br_mspFR_retired_branches_mispred0x0
       PAPI_br_tknFR_retired_taken_branches0x0              PAPI_fp_opsFP_dis‐
       patched_fpu_ops0x3                 PAPI_fad_insFP_dispatched_fpu_ops0x1
       PAPI_fml_insFP_dispatched_fpu_ops0x2
       PAPI_fpu_idlFP_cycles_no_fpu_ops_retired0x0
       PAPI_tot_cycBU_cpu_clk_unhalted0x0
       PAPI_tot_insFR_retired_x86_instr_w_excp_intr0x0 PAPI_l1_dcaDC_access0x0
       PAPI_l1_dcmDC_miss0x0                   PAPI_l1_ldmDC_refill_from_L20xe
       PAPI_l1_stmDC_refill_from_L20x10                 PAPI_l1_icaIC_fetch0x0
       PAPI_l1_icmIC_miss0x0                            PAPI_l1_icrIC_fetch0x0
       PAPI_l2_dchDC_refill_from_L20x1e   PAPI_l2_dcmDC_refill_from_system0x1e
       PAPI_l2_dcrDC_refill_from_L20xe        PAPI_l2_dcwDC_refill_from_L20x10
       PAPI_l2_ichIC_refill_from_L20x0     PAPI_l2_icmIC_refill_from_system0x0
       PAPI_l2_ldmDC_refill_from_system0xe      PAPI_l2_stmDC_refill_from_sys‐
       tem0x10      PAPI_res_stlFR_dispatch_stalls0x0     PAPI_stl_icyFR_noth‐
       ing_to_dispatch0x0                PAPI_hw_intFR_taken_hardware_intrs0x0
       PAPI_tlb_dmDC_dtlb_L1_miss_L2_miss0x0
       PAPI_tlb_imIC_itlb_L1_miss_L2_miss0x0
       PAPI_fp_insFR_retired_fpu_instr0xd PAPI_vec_insFR_retired_fpu_instr0x4


   AMD Opteron Family 0x10 Processors
       tab();   lw(1.83i)  lw(2.3i)  lw(1.37i)  lw(1.83i)  lw(2.3i)  lw(1.37i)
       Generic         EventPlatform         EventEvent         Mask         _
       PAPI_br_insFR_retired_branches_w_excp_intr0x0
       PAPI_br_mspFR_retired_branches_mispred0x0
       PAPI_br_tknFR_retired_taken_branches0x0              PAPI_fp_opsFP_dis‐
       patched_fpu_ops0x3                 PAPI_fad_insFP_dispatched_fpu_ops0x1
       PAPI_fml_insFP_dispatched_fpu_ops0x2
       PAPI_fpu_idlFP_cycles_no_fpu_ops_retired0x0
       PAPI_tot_cycBU_cpu_clk_unhalted0x0
       PAPI_tot_insFR_retired_x86_instr_w_excp_intr0x0 PAPI_l1_dcaDC_access0x0
       PAPI_l1_dcmDC_miss0x0                   PAPI_l1_ldmDC_refill_from_L20xe
       PAPI_l1_stmDC_refill_from_L20x10                 PAPI_l1_icaIC_fetch0x0
       PAPI_l1_icmIC_miss0x0                            PAPI_l1_icrIC_fetch0x0
       PAPI_l2_dchDC_refill_from_L20x1e   PAPI_l2_dcmDC_refill_from_system0x1e
       PAPI_l2_dcrDC_refill_from_L20xe        PAPI_l2_dcwDC_refill_from_L20x10
       PAPI_l2_ichIC_refill_from_L20x0     PAPI_l2_icmIC_refill_from_system0x0
       PAPI_l2_ldmDC_refill_from_system0xe      PAPI_l2_stmDC_refill_from_sys‐
       tem0x10     PAPI_res_stlFR_dispatch_stalls0x0      PAPI_stl_icyFR_noth‐
       ing_to_dispatch0x0                PAPI_hw_intFR_taken_hardware_intrs0x0
       PAPI_tlb_dmDC_dtlb_L1_miss_L2_miss0x7
       PAPI_tlb_imIC_itlb_L1_miss_L2_miss0x3
       PAPI_fp_insFR_retired_fpu_instr0xd  PAPI_vec_insFR_retired_fpu_instr0x4
       PAPI_l3_dcrL3_read_req0xf1                   PAPI_l3_icrL3_read_req0xf2
       PAPI_l3_tcrL3_read_req0xf7                       PAPI_l3_stmL3_miss0xf4
       PAPI_l3_ldmL3_miss0xf3 PAPI_l3_tcmL3_miss0xf7


   Intel Pentium IV Processor
       tab();   lw(1.83i)  lw(2.3i)  lw(1.37i)  lw(1.83i)  lw(2.3i)  lw(1.37i)
       Generic EventPlatform EventEvent  Mask  _  PAPI_br_mspbranch_retired0xa
       PAPI_br_insbranch_retired0xf  PAPI_br_tknbranch_retired0xc PAPI_br_ntk‐
       branch_retired0x3     PAPI_br_prcbranch_retired0x5      PAPI_tot_insin‐
       str_retired0x3                       PAPI_tot_cycglobal_power_events0x1
       PAPI_tlb_dmpage_walk_type0x1               PAPI_tlb_impage_walk_type0x2
       PAPI_tlb_tmpage_walk_type0x3        PAPI_l2_ldmBSQ_cache_reference0x100
       PAPI_l2_stmBSQ_cache_reference0x400 PAPI_l2_tcmBSQ_cache_reference0x500


   Intel Pentium Pro/II/III Processor
       tab();  lw(1.83i)  lw(2.3i)  lw(1.37i)  lw(1.83i)  lw(2.3i)   lw(1.37i)
       Generic   EventPlatform   EventEvent   Mask  _  PAPI_ca_shrl2_ifetch0xf
       PAPI_ca_clnbus_tran_rfo0x0                 PAPI_ca_itvbus_tran_inval0x0
       PAPI_tlb_imitlb_miss0x0                        PAPI_btac_mbtb_misses0x0
       PAPI_hw_inthw_int_rx0x0                    PAPI_br_cnbr_inst_retired0x0
       PAPI_br_tknbr_taken_retired0x0     PAPI_br_mspbr_miss_pred_taken_ret0x0
       PAPI_br_insbr_inst_retired0x0            PAPI_res_stlresource_stalls0x0
       PAPI_tot_iisinst_decoder0x0  PAPI_tot_insinst_retired0x0  PAPI_tot_cyc‐
       cpu_clk_unhalted0x0 PAPI_l1_dcmdcu_lines_in0x0  PAPI_l1_icml2_ifetch0xf
       PAPI_l1_tcml2_rqsts0xf  PAPI_l1_dcadata_mem_refs0x0 PAPI_l1_ldml2_ld0xf
       PAPI_l1_stml2_st0xf  PAPI_l2_icmbus_tran_ifetch0x0  PAPI_l2_dcrl2_ld0xf
       PAPI_l2_dcwl2_st0xf   PAPI_l2_tcml2_lines_in0x0  PAPI_l2_tcal2_rqsts0xf
       PAPI_l2_tcwl2_st0xf  PAPI_l2_stml2_m_lines_inm0x0   PAPI_fp_insflops0x0
       PAPI_fp_opsflops0x0 PAPI_fml_insmul0x0 PAPI_fdv_insdiv0x0


   Niagara T1 Processor
       tab();  lw(2.75i)  lw(2.75i)  lw(2.75i) lw(2.75i) Generic EventPlatform
       Event        _        PAPI_tot_cycCycle_cnt         PAPI_l2_icmL2_imiss
       PAPI_l2_ldmL2_dmiss_ld  PAPI_fp_insFP_instr_cnt PAPI_fp_opsFP_instr_cnt
       PAPI_l1_icmIC_miss       PAPI_l1_dcmDC_miss        PAPI_tlb_imITLB_miss
       PAPI_tlb_dmDTLB_miss


   Niagara T2/T2+/T3 Processor
       tab();  lw(2.75i)  lw(2.75i)  lw(2.75i) lw(2.75i) Generic EventPlatform
       Event    _    PAPI_tot_insInstr_cnt     PAPI_fp_insInstr_FGU_arithmetic
       PAPI_fp_opsInstr_FGU_arithmetic  PAPI_l1_dcmDC_miss  PAPI_l1_icmIC_miss
       PAPI_l2_icmL2_imiss     PAPI_l2_ldmL2_dmiss_ld     PAPI_tlb_dmDTLB_miss
       PAPI_tlb_imITLB_miss       PAPI_tlb_tmTLB_miss      PAPI_br_tknBr_taken
       PAPI_br_insBr_completed PAPI_ld_insInstr_ld PAPI_sr_insInstr_st


   SPARC64 X/X+/XII Processor
       tab(); lw(2.75i) lw(2.75i) lw(2.75i)  lw(2.75i)  Generic  EventPlatform
       Event    _    PAPI_tot_cyccycle_counts   PAPI_tot_inseffective_instruc‐
       tion_counts PAPI_br_tknbranch_instructions PAPI_fp_opsfloating_instruc‐
       tions          PAPI_fma_insfma_instructions         PAPI_l1_dcmL1D_miss
       PAPI_l1_icmL1I_miss PAPI_tlb_dmtrap_DMMU_miss PAPI_tlb_imtrap_IMMU_miss


   SPARC T4 Processor
       tab(); lw(2.75i) lw(2.75i) lw(2.75i)  lw(2.75i)  Generic  EventPlatform
       Event  _  PAPI_br_cnBranches  PAPI_br_insBr_taken PAPI_br_mspBr_mispred
       PAPI_btac_mBTC_miss  PAPI_fp_insInstr_FGU_crypto  PAPI_tot_insInstr_all
       PAPI_l1_dcmDC_miss        PAPI_l1_icmIC_miss        PAPI_ld_insInstr_ld
       PAPI_sr_insInstr_st PAPI_tlb_imITLB_miss PAPI_tlb_dmDTLB_miss_asynch


   SPARC M5/T5/M6 Processor
       tab(); lw(2.75i) lw(2.75i) lw(2.75i)  lw(2.75i)  Generic  EventPlatform
       Event  _  PAPI_br_cnBranches  PAPI_br_insBr_taken PAPI_br_mspBr_mispred
       PAPI_btac_mBTC_miss     PAPI_fp_opsInstr_FGU_crypto      PAPI_fp_insIn‐
       str_FGU_crypto         PAPI_tot_insInstr_all         PAPI_l1_dcmDC_miss
       PAPI_l1_icmIC_miss       PAPI_ld_insInstr_ld        PAPI_sr_insInstr_st
       PAPI_tlb_imITLB_miss PAPI_tlb_dmDTLB_miss_asynch


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Interface StabilityVolatile


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

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



Oracle Solaris 11.4               25 Jan 2017             generic_events(3CPC)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3