GENERIC_EVENTS(3CPC) | CPU Performance Counters Library Functions | GENERIC_EVENTS(3CPC) |
generic_events - generic performance counter events
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:
PAPI_br_cn
PAPI_br_ins
PAPI_br_msp
PAPI_br_ntk
PAPI_br_prc
PAPI_br_ucn
PAPI_bru_idl
PAPI_btac_m
PAPI_ca_cln
PAPI_ca_inv
PAPI_ca_itv
PAPI_ca_shr
PAPI_ca_snp
PAPI_csr_fal
PAPI_csr_suc
PAPI_csr_tot
PAPI_fad_ins
PAPI_fdv_ins
PAPI_fma_ins
PAPI_fml_ins
PAPI_fnv_ins
PAPI_fp_ops
PAPI_fp_stal
PAPI_fpu_idl
PAPI_fsq_ins
PAPI_ful_ccy
PAPI_ful_icy
PAPI_fxu_idl
PAPI_hw_int
PAPI_int_ins
PAPI_tot_cyc
PAPI_tot_iis
PAPI_tot_ins
PAPI_vec_ins
PAPI_l1_dca
PAPI_l1_dch
PAPI_l1_dcm
PAPI_l1_dcr
PAPI_l1_dcw
PAPI_l1_ica
PAPI_l1_ich
PAPI_l1_icm
PAPI_l1_icr
PAPI_l1_icw
PAPI_l1_ldm
PAPI_l1_stm
PAPI_l1_tca
PAPI_l1_tch
PAPI_l1_tcm
PAPI_l1_tcr
PAPI_l1_tcw
PAPI_l2_dca
PAPI_l2_dch
PAPI_l2_dcm
PAPI_l2_dcr
PAPI_l2_dcw
PAPI_l2_ica
PAPI_l2_ich
PAPI_l2_icm
PAPI_l2_icr
PAPI_l2_icw
PAPI_l2_ldm
PAPI_l2_stm
PAPI_l2_tca
PAPI_l2_tch
PAPI_l2_tcm
PAPI_l2_tcr
PAPI_l2_tcw
PAPI_l3_dca
PAPI_l3_dch
PAPI_l3_dcm
PAPI_l3_dcr
PAPI_l3_dcw
PAPI_l3_ica
PAPI_l3_ich
PAPI_l3_icm
PAPI_l3_icr
PAPI_l3_icw
PAPI_l3_ldm
PAPI_l3_stm
PAPI_l3_tca
PAPI_l3_tch
PAPI_l3_tcm
PAPI_l3_tcr
PAPI_l3_tcw
PAPI_ld_ins
PAPI_lst_ins
PAPI_lsu_idl
PAPI_mem_rcy
PAPI_mem_scy
PAPI_mem_wcy
PAPI_prf_dm
PAPI_res_stl
PAPI_sr_ins
PAPI_stl_ccy
PAPI_syc_ins
PAPI_tlb_dm
PAPI_tlb_im
PAPI_tlb_sd
PAPI_tlb_tl
The tables below define mappings of generic events to platform events and any associated attribute for all supported platforms.
Generic Event | Platform Event | Unit Mask |
PAPI_br_ins | FR_retired_branches_w_excp_intr | 0x0 |
PAPI_br_msp | FR_retired_branches_mispred | 0x0 |
PAPI_br_tkn | FR_retired_taken_branches | 0x0 |
PAPI_fp_ops | FP_dispatched_fpu_ops | 0x3 |
PAPI_fad_ins | FP_dispatched_fpu_ops | 0x1 |
PAPI_fml_ins | FP_dispatched_fpu_ops | 0x2 |
PAPI_fpu_idl | FP_cycles_no_fpu_ops_retired | 0x0 |
PAPI_tot_cyc | BU_cpu_clk_unhalted | 0x0 |
PAPI_tot_ins | FR_retired_x86_instr_w_excp_intr | 0x0 |
PAPI_l1_dca | DC_access | 0x0 |
PAPI_l1_dcm | DC_miss | 0x0 |
PAPI_l1_ldm | DC_refill_from_L2 | 0xe |
PAPI_l1_stm | DC_refill_from_L2 | 0x10 |
PAPI_l1_ica | IC_fetch | 0x0 |
PAPI_l1_icm | IC_miss | 0x0 |
PAPI_l1_icr | IC_fetch | 0x0 |
PAPI_l2_dch | DC_refill_from_L2 | 0x1e |
PAPI_l2_dcm | DC_refill_from_system | 0x1e |
PAPI_l2_dcr | DC_refill_from_L2 | 0xe |
PAPI_l2_dcw | DC_refill_from_L2 | 0x10 |
PAPI_l2_ich | IC_refill_from_L2 | 0x0 |
PAPI_l2_icm | IC_refill_from_system | 0x0 |
PAPI_l2_ldm | DC_refill_from_system | 0xe |
PAPI_l2_stm | DC_refill_from_system | 0x10 |
PAPI_res_stl | FR_dispatch_stalls | 0x0 |
PAPI_stl_icy | FR_nothing_to_dispatch | 0x0 |
PAPI_hw_int | FR_taken_hardware_intrs | 0x0 |
PAPI_tlb_dm | DC_dtlb_L1_miss_L2_miss | 0x0 |
PAPI_tlb_im | IC_itlb_L1_miss_L2_miss | 0x0 |
PAPI_fp_ins | FR_retired_fpu_instr | 0xd |
PAPI_vec_ins | FR_retired_fpu_instr | 0x4 |
Generic Event | Platform Event | Event Mask |
PAPI_br_ins | FR_retired_branches_w_excp_intr | 0x0 |
PAPI_br_msp | FR_retired_branches_mispred | 0x0 |
PAPI_br_tkn | FR_retired_taken_branches | 0x0 |
PAPI_fp_ops | FP_dispatched_fpu_ops | 0x3 |
PAPI_fad_ins | FP_dispatched_fpu_ops | 0x1 |
PAPI_fml_ins | FP_dispatched_fpu_ops | 0x2 |
PAPI_fpu_idl | FP_cycles_no_fpu_ops_retired | 0x0 |
PAPI_tot_cyc | BU_cpu_clk_unhalted | 0x0 |
PAPI_tot_ins | FR_retired_x86_instr_w_excp_intr | 0x0 |
PAPI_l1_dca | DC_access | 0x0 |
PAPI_l1_dcm | DC_miss | 0x0 |
PAPI_l1_ldm | DC_refill_from_L2 | 0xe |
PAPI_l1_stm | DC_refill_from_L2 | 0x10 |
PAPI_l1_ica | IC_fetch | 0x0 |
PAPI_l1_icm | IC_miss | 0x0 |
PAPI_l1_icr | IC_fetch | 0x0 |
PAPI_l2_dch | DC_refill_from_L2 | 0x1e |
PAPI_l2_dcm | DC_refill_from_system | 0x1e |
PAPI_l2_dcr | DC_refill_from_L2 | 0xe |
PAPI_l2_dcw | DC_refill_from_L2 | 0x10 |
PAPI_l2_ich | IC_refill_from_L2 | 0x0 |
PAPI_l2_icm | IC_refill_from_system | 0x0 |
PAPI_l2_ldm | DC_refill_from_system | 0xe |
PAPI_l2_stm | DC_refill_from_system | 0x10 |
PAPI_res_stl | FR_dispatch_stalls | 0x0 |
PAPI_stl_icy | FR_nothing_to_dispatch | 0x0 |
PAPI_hw_int | FR_taken_hardware_intrs | 0x0 |
PAPI_tlb_dm | DC_dtlb_L1_miss_L2_miss | 0x7 |
PAPI_tlb_im | IC_itlb_L1_miss_L2_miss | 0x3 |
PAPI_fp_ins | FR_retired_fpu_instr | 0xd |
PAPI_vec_ins | FR_retired_fpu_instr | 0x4 |
PAPI_l3_dcr | L3_read_req | 0xf1 |
PAPI_l3_icr | L3_read_req | 0xf2 |
PAPI_l3_tcr | L3_read_req | 0xf7 |
PAPI_l3_stm | L3_miss | 0xf4 |
PAPI_l3_ldm | L3_miss | 0xf3 |
PAPI_l3_tcm | L3_miss | 0xf7 |
Generic Event | Platform Event | Event Mask |
PAPI_br_msp | branch_retired | 0xa |
PAPI_br_ins | branch_retired | 0xf |
PAPI_br_tkn | branch_retired | 0xc |
PAPI_br_ntk | branch_retired | 0x3 |
PAPI_br_prc | branch_retired | 0x5 |
PAPI_tot_ins | instr_retired | 0x3 |
PAPI_tot_cyc | global_power_events | 0x1 |
PAPI_tlb_dm | page_walk_type | 0x1 |
PAPI_tlb_im | page_walk_type | 0x2 |
PAPI_tlb_tm | page_walk_type | 0x3 |
PAPI_l2_ldm | BSQ_cache_reference | 0x100 |
PAPI_l2_stm | BSQ_cache_reference | 0x400 |
PAPI_l2_tcm | BSQ_cache_reference | 0x500 |
Generic Event | Platform Event | Event Mask |
PAPI_ca_shr | l2_ifetch | 0xf |
PAPI_ca_cln | bus_tran_rfo | 0x0 |
PAPI_ca_itv | bus_tran_inval | 0x0 |
PAPI_tlb_im | itlb_miss | 0x0 |
PAPI_btac_m | btb_misses | 0x0 |
PAPI_hw_int | hw_int_rx | 0x0 |
PAPI_br_cn | br_inst_retired | 0x0 |
PAPI_br_tkn | br_taken_retired | 0x0 |
PAPI_br_msp | br_miss_pred_taken_ret | 0x0 |
PAPI_br_ins | br_inst_retired | 0x0 |
PAPI_res_stl | resource_stalls | 0x0 |
PAPI_tot_iis | inst_decoder | 0x0 |
PAPI_tot_ins | inst_retired | 0x0 |
PAPI_tot_cyc | cpu_clk_unhalted | 0x0 |
PAPI_l1_dcm | dcu_lines_in | 0x0 |
PAPI_l1_icm | l2_ifetch | 0xf |
PAPI_l1_tcm | l2_rqsts | 0xf |
PAPI_l1_dca | data_mem_refs | 0x0 |
PAPI_l1_ldm | l2_ld | 0xf |
PAPI_l1_stm | l2_st | 0xf |
PAPI_l2_icm | bus_tran_ifetch | 0x0 |
PAPI_l2_dcr | l2_ld | 0xf |
PAPI_l2_dcw | l2_st | 0xf |
PAPI_l2_tcm | l2_lines_in | 0x0 |
PAPI_l2_tca | l2_rqsts | 0xf |
PAPI_l2_tcw | l2_st | 0xf |
PAPI_l2_stm | l2_m_lines_inm | 0x0 |
PAPI_fp_ins | flops | 0x0 |
PAPI_fp_ops | flops | 0x0 |
PAPI_fml_ins | mul | 0x0 |
PAPI_fdv_ins | div | 0x0 |
Generic Event | Platform Event |
PAPI_tot_cyc | Cycle_cnt |
PAPI_tot_ins | Instr_cnt |
PAPI_tot_iis | Instr_cnt |
PAPI_l1_dcr | DC_rd |
PAPI_l1_dcw | DC_wr |
PAPI_l1_ica | IC_ref |
PAPI_l1_ich | IC_hit |
PAPI_l2_tca | EC_ref |
PAPI_l2_dch | EC_rd_hit |
PAPI_l2_tch | EC_hit |
PAPI_l2_ich | EC_ic_hit |
PAPI_ca_inv | EC_snoop_inv |
PAPI_br_msp | Dispatch0_mispred |
PAPI_ca_snp | EC_snoop_cb |
Generic Event | Platform Event |
PAPI_tot_cyc | Cycle_cnt |
PAPI_tot_ins | Instr_cnt |
PAPI_tot_iis | Instr_cnt |
PAPI_fma_ins | FA_pipe_completion |
PAPI_fml_ins | FM_pipe_completion |
PAPI_l1_dcr | DC_rd |
PAPI_l1_dcw | DC_wr |
PAPI_l1_ica | IC_ref |
PAPI_l1_icm | IC_miss |
PAPI_l2_tca | EC_ref |
PAPI_l2_ldm | EC_rd_miss |
PAPI_l2_tcm | EC_misses |
PAPI_l2_icm | EC_ic_miss |
PAPI_tlb_dm | DTLB_miss |
PAPI_tlb_im | ITLB_miss |
PAPI_br_ntk | IU_Stat_Br_count_untaken |
PAPI_br_msp | Dispatch0_mispred |
PAPI_br_tkn | IU_Stat_Br_count_taken |
PAPI_ca_inv | EC_snoop_inv |
PAPI_ca_snp | EC_snoop_cb |
Generic Event | Platform Event |
PAPI_tot_cyc | Cycle_cnt |
PAPI_tot_ins | Instr_cnt |
PAPI_tot_iis | Instr_cnt |
PAPI_fma_ins | FA_pipe_completion |
PAPI_fml_ins | FM_pipe_completion |
PAPI_l1_dcr | DC_rd |
PAPI_l1_stm | DC_wr_miss |
PAPI_l1_ica | IC_ref |
PAPI_l1_icm | IC_L2_req |
PAPI_l1_ldm | DC_rd_miss |
PAPI_l1_dcw | DC_wr |
PAPI_l2_tca | L2_ref |
PAPI_l2_ldm | L2_rd_miss |
PAPI_l2_icm | L2_IC_miss |
PAPI_l2_stm | L2_write_miss |
PAPI_l2_tcm | L2_miss |
PAPI_l3_tcm | L3_miss |
PAPI_l3_icm | L3_IC_miss |
PAPI_l3_ldm | L3_rd_miss |
PAPI_tlb_im | ITLB_miss |
PAPI_tlb_dm | DTLB_miss |
PAPI_br_tkn | IU_stat_br_count_taken |
PAPI_br_ntk | IU_stat_br_count_untaken |
Generic Event | Platform Event |
PAPI_tot_cyc | Cycle_cnt |
PAPI_l2_icm | L2_imiss |
PAPI_l2_ldm | L2_dmiss_ld |
PAPI_fp_ops | FP_instr_cnt |
PAPI_l1_icm | IC_miss |
PAPI_l1_dcm | DC_miss |
PAPI_tlb_im | ITLB_miss |
PAPI_tlb_dm | DTLB_miss |
Generic Event | Platform Event |
PAPI_tot_ins | Instr_cnt |
PAPI_l1_dcm | DC_miss |
PAPI_l1_icm | IC_miss |
PAPI_l2_icm | L2_imiss |
PAPI_l2_ldm | L2_dmiss_ld |
PAPI_tlb_dm | DTLB_miss |
PAPI_tlb_im | ITLB_miss |
PAPI_tlb_tm | TLB_miss |
PAPI_br_tkn | Br_taken |
PAPI_br_ins | Br_completed |
PAPI_ld_ins | Instr_ld |
PAPI_sr_ins | Instr_st |
Generic Event | Platform Event |
PAPI_tot_cyc | cycle_counts |
PAPI_tot_ins | instruction_counts |
PAPI_br_tkn | branch_instructions |
PAPI_fp_ops | floating_instructions |
PAPI_fma_ins | impdep2_instructions |
PAPI_l1_dcm | op_r_iu_req_mi_go |
PAPI_l1_icm | if_r_iu_req_mi_go |
PAPI_tlb_dm | trap_DMMU_miss |
PAPI_tlb_im | trap_IMMU_miss |
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Volatile |
Generic names prefixed with "PAPI_" are taken from the University of Tennessee's PAPI project, http://icl.cs.utk.edu/papi.
October 8, 2008 | OmniOS |