⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 counters.mx

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 MX
📖 第 1 页 / 共 5 页
字号:
	{22, 22, (str) &chr_nil, "number_of_clocks_LOCK_is_asserted", 0x63, 0},	/* P6_BUS_LOCK_CLOCKS               , "bus_lock_clocks"               , P6_BUS_LOCK_CLOCKS               , */	{23, 23, (str) &chr_nil, "number_of_outstanding_bus_requests", 0x60, 0},	/* P6_BUS_REQ_OUTSTANDING           , "bus_req_outstanding"           , P6_BUS_REQ_OUTSTANDING           , */	{24, 24, (str) &chr_nil, "number_of_burst_read_transactions", 0x65, 0},	/* P6_BUS_TRAN_BRD                  , "bus_tran_brd"                  , P6_BUS_TRAN_BRD                  , */	{25, 25, (str) &chr_nil, "number_of_read_for_ownership_transactions", 0x66, 0},	/* P6_BUS_TRAN_RFO                  , "bus_tran_rfo"                  , P6_BUS_TRAN_RFO                  , */	{26, 26, (str) &chr_nil, "number_of_write_back_transactions", 0x67, 0},	/* P6_BUS_TRANS_WB                  , "bus_trans_wb"                  , P6_BUS_TRANS_WB                  , */	{27, 27, (str) &chr_nil, "number_of_instruction_fetch_transactions", 0x68, 0},	/* P6_BUS_TRAN_IFETCH               , "bus_tran_ifetch"               , P6_BUS_TRAN_IFETCH               , */	{28, 28, (str) &chr_nil, "number_of_invalidate_transactions", 0x69, 0},	/* P6_BUS_TRAN_INVAL                , "bus_tran_inval"                , P6_BUS_TRAN_INVAL                , */	{29, 29, (str) &chr_nil, "number_of_partial_write_transactions", 0x6a, 0},	/* P6_BUS_TRAN_PWR                  , "bus_tran_pwr"                  , P6_BUS_TRAN_PWR                  , */	{30, 30, (str) &chr_nil, "number_of_partial_transactions", 0x6b, 0},	/* P6_BUS_TRANS_P                   , "bus_trans_p"                   , P6_BUS_TRANS_P                   , */	{31, 31, (str) &chr_nil, "number_of_I/O_transactions", 0x6c, 0},	/* P6_BUS_TRANS_IO                  , "bus_trans_io"                  , P6_BUS_TRANS_IO                  , */	{32, 32, (str) &chr_nil, "number_of_deferred_transactions", 0x6d, 0},	/* P6_BUS_TRANS_DEF                 , "bus_trans_def"                 , P6_BUS_TRAN_DEF                  , */	{33, 33, (str) &chr_nil, "number_of_burst_transactions", 0x6e, 0},	/* P6_BUS_TRAN_BURST                , "bus_tran_burst"                , P6_BUS_TRAN_BURST                , */	{34, 34, (str) &chr_nil, "number_of_all_transactions", 0x70, 0},	/* P6_BUS_TRAN_ANY                  , "bus_tran_any"                  , P6_BUS_TRAN_ANY                  , */	{35, 35, (str) &chr_nil, "number_of_memory_transactions", 0x6f, 0},	/* P6_BUS_TRAN_MEM                  , "bus_tran_mem"                  , P6_BUS_TRAN_MEM                  , */	{36, 36, (str) &chr_nil, "bus_cycles_this_processor_is_receiving_data", 0x64, 0},	/* P6_BUS_DATA_RCV                  , "bus_data_rcv"                  , P6_BUS_DATA_RCV                  , */	{37, 37, (str) &chr_nil, "bus_cycles_this_processor_is_driving_BNR_pin", 0x61, 0},	/* P6_BUS_BNR_DRV                   , "bus_bnr_drv"                   , P6_BUS_BNR_DRV                   , */	{38, 38, (str) &chr_nil, "bus_cycles_this_processor_is_driving_HIT_pin", 0x7a, 0},	/* P6_BUS_HIT_DRV                   , "bus_hit_drv"                   , P6_BUS_HIT_DRV                   , */	{39, 39, (str) &chr_nil, "bus_cycles_this_processor_is_driving_HITM_pin", 0x7b, 0},	/* P6_BUS_HITM_DRV                  , "bus_hitm_drv"                  , P6_BUS_HITM_DRV                  , */	{40, 40, (str) &chr_nil, "cycles_during_bus_snoop_stall", 0x7e, 0},	/* P6_BUS_SNOOP_STALL               , "bus_snoop_stall"               , P6_BUS_SNOOP_STALL               , */	{41, -1, (str) &chr_nil, "number_of_computational_FP_operations_retired", 0xc1, 0},	/* P6_COMP_FLOP_RET                 , "comp_flop_ret"                 , P6_FLOPS                         , */	{42, -1, (str) &chr_nil, "number_of_computational_FP_operations_executed", 0x10, 0},	/* P6_FLOPS                         , "flops"                         , P6_FP_COMP_OPS_EXE               , */	{-1, 43, (str) &chr_nil, "number_of_FP_execptions_handled_by_microcode", 0x11, 0},	/* P6_FP_ASSIST                     , "fp_assist"                     , P6_FP_ASSIST                     , */	{-1, 44, (str) &chr_nil, "number_of_multiplies", 0x12, 0},	/* P6_MUL                           , "mul"                           , P6_MUL                           , */	{-1, 45, (str) &chr_nil, "number_of_divides", 0x13, 0},	/* P6_DIV                           , "div"                           , P6_DIV                           , */	{46, -1, (str) &chr_nil, "cycles_divider_is_busy", 0x14, 0},	/* P6_CYCLES_DIV_BUSY               , "cycles_div_busy"               , P6_CYCLES_DIV_BUSY               , */	{47, 47, (str) &chr_nil, "number_of_store_buffer_blocks", 0x03, 0},	/* P6_LD_BLOCKS                     , "ld_blocks"                     , P6_LD_BLOCKS                     , */	{48, 48, (str) &chr_nil, "number_of_store_buffer_drain_cycles", 0x04, 0},	/* P6_SB_DRAINS                     , "sb_drains"                     , P6_SB_DRAINS                     , */	{49, 49, (str) &chr_nil, "number_of_misaligned_data_memory_references", 0x05, 0},	/* P6_MISALIGN_MEM_REF              , "misalign_mem_ref"              , P6_MISALIGN_MEM_REF              , */	{50, 50, (str) &chr_nil, "number_of_instructions_retired", 0xc0, 0},	/* P6_INST_RETIRED                  , "inst_retired"                  , P6_INST_RETIRED                  , */	{51, 51, (str) &chr_nil, "number_of_UOPs_retired", 0xc2, 0},	/* P6_UOPS_RETIRED                  , "uops_retired"                  , P6_UOPS_RETIRED                  , */	{52, 52, (str) &chr_nil, "number_of_instructions_decoded", 0xd0, 0},	/* P6_INST_DECODER                  , "inst_decoder"                  , P6_INST_DECODED                  , */	{53, 53, (str) &chr_nil, "number_of_hardware_interrupts_received", 0xc8, 0},	/* P6_HW_INT_RX                     , "hw_int_rx"                     , P6_HW_INT_RX                     , */	{54, 54, (str) &chr_nil, "cycles_interrupts_are_disabled", 0xc6, 0},	/* P6_CYCLES_INT_MASKED             , "cycles_int_masked"             , P6_CYCLES_INT_MASKED             , */	{55, 55, (str) &chr_nil, "cycles_interrupts_are_disabled_with_pending_interrupts", 0xc7, 0},	/* P6_CYCLES_INT_PENDING_AND_MASKED , "cycles_int_pending_and_masked" , P6_CYCLES_INT_PENDING_AND_MASKED , */	{56, 56, "branches", "number_of_branch_instructions_retired", 0xc4, 0},	/* P6_BR_INST_RETIRED               , "br_inst_retired"               , P6_BR_INST_RETIRED               , */	{57, 57, "branch_misses", "number_of_mispredicted_branches_retired", 0xc5, 0},	/* P6_BR_MISS_PRED_RETIRED          , "br_miss_pred_retired"          , P6_BR_MISS_PRED_RETIRED          , */	{58, 58, "Tbranches", "number_of_taken_branches_retired", 0xc9, 0},	/* P6_BR_TAKEN_RETIRED              , "br_taken_retired"              , P6_BR_TAKEN_RETIRED              , */	{59, 59, "Tbranch_misses", "number_of_taken_mispredictions_branches_retired", 0xca, 0},	/* P6_BR_MISS_PRED_TAKEN_RET        , "br_miss_pred_taken_ret"        , P6_BR_MISS_PRED_TAKEN_RET        , */	{60, 60, (str) &chr_nil, "number_of_branch_instructions_decoded", 0xe0, 0},	/* P6_BR_INST_DECODED               , "br_inst_decoded"               , P6_BR_INST_DECODED               , */	{61, 61, (str) &chr_nil, "number_of_branches_that_miss_the_BTB", 0xe2, 0},	/* P6_BTB_MISSES                    , "btb_misses"                    , P6_BTB_MISSES                    , */	{62, 62, (str) &chr_nil, "number_of_bogus_branches", 0xe4, 0},	/* P6_BR_BOGUS                      , "br_bogus"                      , P6_BR_BOGUS                      , */	{63, 63, (str) &chr_nil, "number_of_times_BACLEAR_is_asserted", 0xe6, 0},	/* P6_BACLEARS                      , "baclears"                      , P6_BACLEARS                      , */	{64, 64, (str) &chr_nil, "cycles_during_resource_related_stalls", 0xa2, 0},	/* P6_RESOURCE_STALLS               , "resource_stalls"               , P6_RESOURCE_STALLS               , */	{65, 65, (str) &chr_nil, "cycles_or_events_for_partial_stalls", 0xd2, 0},	/* P6_PARTIAL_RAT_STALLS            , "partial_rat_stalls"            , P6_PARTIAL_RAT_STALLS            , */	{66, 66, (str) &chr_nil, "number_of_segment_register_loads", 0x06, 0},	/* P6_SEGMENT_REG_LOADS             , "segment_reg_loads"             , P6_SEGMENT_REG_LOADS             , */	{67, 67, "cycles", "clocks_processor_is_not_halted", 0x79, 0},	/* P6_CPU_CLK_UNHALTED              , "cpu_clk_unhalted"              , P6_CPU_CLK_UNHALTED              , */	{67, 67, (str) &chr_nil, (str) &chr_nil, 0x79, 0}};  /* K7 (i686) Athlon */#define K7_NUMEVENTS 57event_t K7_event[K7_NUMEVENTS + 1] = {	{0, 0, (str) &chr_nil, "Data cache accesses", 0x40, 0},	/* K7_DATA_MEM_REFS                   , "data_mem_refs"                   ,  0 ,  2 , K7_DATA_CACHE_ACCESSES                                        , */	{1, 1, (str) &chr_nil, "Data cache misses", 0x41, 0},	/* K7_DCU_LINES_IN                    , "dcu_lines_in"                    ,  1 ,  3 , K7_DATA_CACHE_MISSES                                          , */	{2, 2, "L1_data_misses", "Data cache refills from L2", 0x42, 0x1F},	/* K7_L1_MISSES                       , "L1_misses"                       ,  2 ,  4 , K7_DATA_CACHE_REFILLS                                         , */	{3, 3, "L2_data_misses", "Data cache refills from system", 0x43, 0x1F},	/* K7_L2_MISSES                       , "L2_misses"                       ,  3 ,  5 , K7_DATA_CACHE_REFILLS_FROM_SYSTEM                             , */	{4, 4, (str) &chr_nil, "Data cache writebacks", 0x44, 0x1F},	/* K7_DCU_WRITEBACKS                  , "dcu_writebacks"                  ,  4 ,  6 , K7_DATA_CACHE_WRITEBACKS                                      , */	{5, 5, "TLB_misses", "L1 DTLB misses and L2 DTLB hits", 0x45, 0},	/* K7_TLB1_MISSES_PROPER              , "TLB1_misses_proper"              ,  5 ,  7 , K7_L1_DTLB_MISSES_AND_L2_DTLB_HITS                            , */	{6, 6, (str) &chr_nil, "L1 and L2 DTLB misses", 0x46, 0},	/* K7_TLB2_MISSES                     , "TLB2_misses"                     ,  6 ,  8 , K7_L1_AND_L2_DTLB_MISSES                                      , */	{7, 7, (str) &chr_nil, "Misaligned data references", 0x47, 0},	/* K7_MISALIGN_MEM_REF                , "misalign_mem_ref"                ,  7 ,  9 , K7_MISALIGNED_DATA_REFERENCES                                 , */	{8, 8, (str) &chr_nil, "Instruction cache fetches", 0x80, 0},	/* K7_IFU_IFETCH                      , "ifu_ifetch"                      ,  8 , 18 , K7_INSTRUCTION_CACHE_FETCHES                                  , */	{9, 9, (str) &chr_nil, "Instruction cache misses", 0x81, 0},	/* K7_IFU_IFETCH_MISS                 , "ifu_ifetch_miss"                 ,  9 , 19 , K7_INSTRUCTION_CACHE_MISSES                                   , */	{10, 10, "iTLB_misses", "L1 ITLB misses (and L2 ITLB hits)", 0x84, 0},	/* K7_ITLB1_MISSES_PROPER             , "ITLB1_misses_proper"             , 10 , 22 , K7_L1_ITLB_MISSES                                             , */	{11, 11, (str) &chr_nil, "(L1 and) L2 ITLB misses", 0x85, 0},	/* K7_ITLB2_MISSES                    , "ITLB2_misses"                    , 11 , 23 , K7_L2_ITLB_MISSES                                             , */	{12, 12, (str) &chr_nil, "Retired instructions (includes exceptions, interrupts, resyncs)", 0xC0, 0},	/* K7_INST_RETIRED                    , "inst_retired"                    , 12 , 28 , K7_RETIRED_INSTRUCTIONS                                       , */	{13, 13, (str) &chr_nil, "Retired Ops", 0xC1, 0},	/* K7_UOPS_RETIRED                    , "uops_retired"                    , 13 , 29 , K7_RETIRED_OPS                                                , */	{14, 14, "branches", "Retired branches (conditional, unconditional, exceptions, interrupts)", 0xC2, 0},	/* K7_BR_INST_RETIRED                 , "br_inst_retired"                 , 14 , 30 , K7_RETIRED_BRANCHES                                           , */	{15, 15, "branch_misses", "Retired branches mispredicted", 0xC3, 0},	/* K7_BR_MISS_PRED_RETIRED            , "br_miss_pred_retired"            , 15 , 31 , K7_RETIRED_BRANCHES_MISPREDICTED                              , */	{16, 16, "Tbranches", "Retired taken branches", 0xC4, 0},	/* K7_BR_TAKEN_RETIRED                , "br_taken_retired"                , 16 , 32 , K7_RETIRED_TAKEN_BRANCHES                                     , */	{17, 17, "Tbranch_misses", "Retired taken branches mispredicted", 0xC5, 0},	/* K7_BR_MISS_PRED_TAKEN_RET          , "br_miss_pred_taken_ret"          , 17 , 33 , K7_RETIRED_TAKEN_BRANCHES_MISPREDICTED                        , */	{18, 18, (str) &chr_nil, "Retired far control transfers", 0xC6, 0},	/* K7_FAR_CTRTF_RETIRED               , "far_ctrtf_retired"               , 18 , 34 , K7_RETIRED_FAR_CONTROL_TRANSFERS                              , */	{19, 19, (str) &chr_nil, "Retired resync branches (only non-control transfer branches counted)", 0xC7, 0},	/* K7_BR_RESYNC_RETIRED               , "br_resync_retired"               , 19 , 35 , K7_RETIRED_RESYNC_BRANCHES                                    , */	{20, 20, (str) &chr_nil, "Interrupts masked cycles (IF=0)", 0xCD, 0},	/* K7_CYCLES_INT_MASKED               , "cycles_int_masked"               , 20 , 39 , K7_INTERRUPTS_MASKED_CYCLES                                   , */	{21, 21, (str) &chr_nil, "Number of taken hardware interrupts", 0xCF, 0},	/* K7_HW_INT_RX                       , "hw_int_rx"                       , 21 , 41 , K7_NUMBER_OF_TAKEN_HARDWARE_INTERRUPTS                        , */	{22, 22, (str) &chr_nil, "Segment register loads", 0x20, 0x3F},	/* K7_seg_reg_loads                   , "seg_reg_loads"                   , 22 ,  0 , K7_SEGMENT_REGISTER_LOADS                                     , */	{23, 23, (str) &chr_nil, "Stores to active instruction stream", 0x21, 0},	/* K7_store_to_act_instr_stream       , "store_to_act_instr_stream"       , 23 ,  1 , K7_STORES_TO_ACTIVE_INSTRUCTION_STREAM                        , */	{24, 24, (str) &chr_nil, "DRAM system requests", 0x64, 0},	/* K7_dram_sys_req                    , "dram_sys_req"                    , 24 , 10 , K7_DRAM_SYSTEM_REQUESTS                                       , */	{25, 25, (str) &chr_nil, "System requests with the selected type", 0x65, 0x73},	/* K7_sys_req_type                    , "sys_req_type"                    , 25 , 11 , K7_SYSTEM_REQUESTS_WITH_THE_SELECTED_TYPE                     , */	{26, 26, (str) &chr_nil, "Snoop hits", 0x73, 0x7},	/* K7_snoop_hits                      , "snoop_hits"                      , 26 , 12 , K7_SNOOP_HITS                                                 , */	{27, 27, (str) &chr_nil, "Single bit ECC errors detected or corrected", 0x74, 0x3},	/* K7_ecc_errors                      , "ecc_errors"                      , 27 , 13 , K7_SINGLE_BIT_ECC_ERRORS_DETECTED_OR_CORRECTED                , */	{28, 28, (str) &chr_nil, "Internal cache line invalidates", 0x75, 0xF},	/* K7_cache_line_invalid              , "cache_line_invalid"              , 28 , 14 , K7_INTERNAL_CACHE_LINE_INVALIDATES                            , */	{29, 29, "cycles", "Cycles processor is running", 0x76, 0},	/* K7_cyc_cpu_running                 , "cyc_cpu_running"                 , 29 , 15 , K7_CYCLES_PROCESSOR_IS_RUNNING                                , */	{30, 30, (str) &chr_nil, "L2 requests", 0x79, 0xFF},	/* K7_L2_requests                     , "L2_requests"                     , 30 , 16 , K7_L2_REQUESTS                                                , */	{31, 31, (str) &chr_nil, "Cycles that at least one fill request waited to use the L2", 0x7A, 0},	/* K7_cyc_fill_stall                  , "cyc_fill_stall"                  , 31 , 17 , K7_CYCLES_THAT_AT_LEAST_ONE_FILL_REQUEST_WAITED_TO_USE_THE_L2 , */	{32, 32, (str) &chr_nil, "Snoop resyncs", 0x86, 0},	/* K7_snoop_resyncs                   , "snoop_resyncs"                   , 32 , 24 , K7_SNOOP_RESYNCS                                              , */	{33, 33, (str) &chr_nil, "Instruction fetch stall cycles", 0x87, 0},	/* K7_instr_fetch_stall               , "instr_fetch_stall"               , 33 , 25 , K7_INSTRUCTION_FETCH_STALL_CYCLES                             , */	{34, 34, (str) &chr_nil, "Return stack hits", 0x88, 0},	/* K7_rtrn_stack_hits                 , "rtrn_stack_hits"                 , 34 , 26 , K7_RETURN_STACK_HITS                                          , */	{35, 35, (str) &chr_nil, "Return stack overflow", 0x89, 0},	/* K7_rtrn_stack_overflow             , "rtrn_stack_overflow"             , 35 , 27 , K7_RETURN_STACK_OVERFLOW                                      , */	{36, 36, (str) &chr_nil, "Retired near returns", 0xC8, 0},	/* K7_near_rtrn_retired               , "near_rtrn_retired"               , 36 , 36 , K7_RETIRED_NEAR_RETURNS                                       , */	{37, 37, (str) &chr_nil, "Retired near returns mispredicted", 0xC9, 0},	/* K7_near_rtrn_miss_pred_retired     , "near_rtrn_miss_pred_retired"     , 37 , 37 , K7_RETIRED_NEAR_RETURNS_MISPREDICTED                          , */	{38, 38, (str) &chr_nil, "Retired indirect branches with target mispredicted", 0xCA, 0},	/* K7_ind_br_target_miss_pred_retired , "ind_br_target_miss_pred_retired" , 38 , 38 , K7_RETIRED_INDIRECT_BRANCHES_WITH_TARGET_MISPREDICTED         , */	{39, 39, (str) &chr_nil, "Interrupts asked while pending cycles", 0xCE, 0},	/* K7_cyc_int_masked_pending          , "cyc_int_masked_pending"          , 39 , 40 , K7_INTERRUPTS_MASKED_WHILE_PENDING_CYCLES                     , */	{40, 40, (str) &chr_nil, "Instruction decoder empty", 0xD0, 0},	/* K7_instr_dec_empty                 , "instr_dec_empty"                 , 40 , 42 , K7_INSTRUCTION_DECODER_EMPTY                                  , */	{41, 41, (str) &chr_nil, "Dispatch stalls", 0xD1, 0},	/* K7_dispatch_stall                  , "dispatch_stall"                  , 41 , 43 , K7_DISPATCH_STALLS                                            , */	{42, 42, (str) &chr_nil, "Branch aborts to retire", 0xD2, 0},	/* K7_br_aborts_retire                , "br_aborts_retire"                , 42 , 44 , K7_BRANCH_ABORTS_TO_RETIRE                                    , */	{43, 43, (str) &chr_nil, "Serialize", 0xD3, 0},	/* K7_serialize                       , "serialize"                       , 43 , 45 , K7_SERIALIZE                                                  , */	{44, 44, (str) &chr_nil, "Segment load stall", 0xD4, 0},	/* K7_seg_load_stall                  , "seg_load_stall"                  , 44 , 46 , K7_SEGMENT_LOAD_STALL                                         , */	{45, 45, (str) &chr_nil, "ICU full", 0xD5, 0},	/* K7_ICU_full                        , "ICU_full"                        , 45 , 47 , K7_ICU_FULL                                                   , */	{46, 46, (str) &chr_nil, "Reservation stations full", 0xD6, 0},	/* K7_res_stations_full               , "res_stations_full"               , 46 , 48 , K7_RESERVATION_STATIONS_FULL                                  , */	{47, 47, (str) &chr_nil, "FPU full", 0xD7, 0},	/* K7_FPU_full                        , "FPU_full"                        , 47 , 49 , K7_FPU_FULL                                                   , */	{48, 48, (str) &chr_nil, "LS full", 0xD8, 0},	/* K7_LS_full                         , "LS_full"                         , 48 , 50 , K7_LS_FULL                                                    , */	{49, 49, (str) &chr_nil, "All quiet stall", 0xD9, 0},	/* K7_all_quiet_stall                 , "all_quiet_stall"                 , 49 , 51 , K7_ALL_QUIET_STALL                                            , */	{50, 50, (str) &chr_nil, "Far transfer or resync branch pending", 0xDA, 0},	/* K7_far_tf_rs_br_pending            , "far_tf_rs_br_pending"            , 50 , 52 , K7_FAR_TRANSFER_OR_RESYNC_BRANCH_PENDING                      , */	{51, 51, (str) &chr_nil, "Breakpoint matches for DR0", 0xDC, 0},	/* K7_brk_pnt_DR0                     , "brk_pnt_DR0"                     , 51 , 53 , K7_BREAKPOINT_MATCHES_FOR_DR0                                 , */	{52, 52, (str) &chr_nil, "Breakpoint matches for DR1", 0xDD, 0},	/* K7_brk_pnt_DR1                     , "brk_pnt_DR1"                     , 52 , 54 , K7_BREAKPOINT_MATCHES_FOR_DR1                                 , */	{53, 53, (str) &chr_nil, "Breakpoint matches for DR2", 0xDE, 0},	/* K7_brk_pnt_DR2                     , "brk_pnt_DR2"                     , 53 , 55 , K7_BREAKPOINT_MATCHES_FOR_DR2                                 , */	{54, 54, (str) &chr_nil, "Breakpoint matches for DR3", 0xDF, 0},	/* K7_brk_pnt_DR3                     , "brk_pnt_DR3"                     , 54 , 56 , K7_BREAKPOINT_MATCHES_FOR_DR3                                 , */	{55, 55, "L1_inst_misses", "Instruction cache refills from L2", 0x82, 0},	/* 0                                  , "IC_REFILLS_FROM_L2"              , -1 , 20 , K7_INSTRUCTION_CACHE_REFILLS_FROM_L2                          , */	{56, 56, "L2_inst_misses", "Instruction cache refills from System", 0x83, 0},	/* 0                                  , "IC_REFILLS_FROM_SYSTEM"          , -1 , 21 , K7_INSTRUCTION_CACHE_REFILLS_FROM_SYSTEM                      , */	{29, 29, (str) &chr_nil, (str) &chr_nil, 0x76, 0}};  /* K8 (x86_64) Opteron */#define K8_NUMEVENTS 79event_t K8_event[K8_NUMEVENTS + 1] = {	{ 0,  0, (str) &chr_nil, "K7_DATA_CACHE_ACCESSES", 0x40, 0},	{ 1,  1, (str) &chr_nil, "K7_DATA_CACHE_MISSES", 0x41, 0},	{ 2,  2, "L1_data_misses", "K7_DATA_CACHE_REFILLS_FROM_L2", 0x42, 0},	{ 3,  3, "L2_data_misses", "K7_DATA_CACHE_REFILLS_FROM_SYSTEM", 0x43, 0},	{ 4,  4, (str) &chr_nil, "K7_DATA_CACHE_WRITEBACKS", 0x44, 0},	{ 5,  5, "TLB_misses",   "K7_L1_DTLB_MISSES_AND_L2_DTLB_HITS", 0x45, 0},	{ 6,  6, (str) &chr_nil, "K7_L1_AND_L2_DTLB_MISSES", 0x46, 0},	{ 7,  7, (str) &chr_nil, "K7_MISALIGNED_DATA_REFERENCES", 0x47, 0},	{ 8,  8, (str) &chr_nil, "K7_INSTRUCTION_CACHE_FETCHES", 0x80, 0},	{ 9,  9, (str) &chr_nil, "K7_INSTRUCTION_CACHE_MISSES", 0x81, 0},	{10, 10, "iTLB_misses", "K7_L1_ITLB_MISSES_AND_L2_ITLB_HITS", 0x84, 0},	{11, 11, (str) &chr_nil, "K7_L1_AND_L2_ITLB_MISSES", 0x85, 0},	{12, 12, (str) &chr_nil, "K7_RETIRED_INSTRUCTIONS", 0xC0, 0},	{13, 13, (str) &chr_nil, "K7_RETIRED_OPS", 0xC1, 0},	{14, 14, "branches", "K7_RETIRED_BRANCHES", 0xC2, 0},	{15, 15, "branch_misses", "K7_RETIRED_BRANCHES_MISPREDICTED", 0xC3, 0},	{16, 16, "Tbranches", "K7_RETIRED_TAKEN_BRANCHES", 0xC4, 0},	{17, 17, "Tbranch_misses", "K7_RETIRED_TAKEN_BRANCHES_MISPREDICTED", 0xC5, 0},	{18, 18, (str) &chr_nil, "K7_RETIRED_FAR_CONTROL_TRANSFERS", 0xC6, 0},	{19, 19, (str) &chr_nil, "K7_RETIRED_RESYNC_BRANCHES", 0xC7, 0},	{20, 20, (str) &chr_nil, "K7_INTERRUPTS_MASKED_CYCLES", 0xCD, 0},	{21, 21, (str) &chr_nil, "K7_INTERRUPTS_MASKED_WHILE_PENDING_CYCLES", 0xCE, 0},	{22, 22, (str) &chr_nil, "K7_NUMBER_OF_TAKEN_HARDWARE_INTERRUPTS", 0xCF, 0},	{23, 23, (str) &chr_nil, "K8_DISPATCHED_FPU_OPS", 0x00, 0},	{24, 24, (str) &chr_nil, "K8_NO_FPU_OPS", 0x01, 0},	{25, 25, (str) &chr_nil, "K8_FAST_FPU_OPS", 0x02, 0},	{26, 26, (str) &chr_nil, "K8_SEG_REG_LOAD", 0x20, 0},	{27, 27, (str) &chr_nil, "K8_SELF_MODIFY_RESYNC", 0x21, 0},	{28, 28, (str) &chr_nil, "K8_LS_RESYNC_BY_SNOOP", 0x22, 0},	{29, 29, (str) &chr_nil, "K8_LS_BUFFER_FULL", 0x23, 0},	{30, 30, (str) &chr_nil, "K8_OP_LATE_CANCEL", 0x25, 0},	{31, 31, (str) &chr_nil, "K8_CFLUSH_RETIRED", 0x26, 0},	{32, 32, (str) &chr_nil, "K8_CPUID_RETIRED", 0x27, 0},	{33, 33, (str) &chr_nil, "K8_ACCESS_CANCEL_LATE", 0x48, 0},	{34, 34, (str) &chr_nil, "K8_ACCESS_CANCEL_EARLY", 0x49, 0},	{35, 35, (str) &chr_nil, "K8_ECC_BIT_ERR", 0x4A, 0},	{36, 36, (str) &chr_nil, "K8_DISPATCHED_PRE_INSTRS", 0x4B, 0},	{37, 37, "cycles", "K8_CPU_CLK_UNHALTED", 0x76, 0},	{38, 38, (str) &chr_nil, "K8_BU_INT_L2_REQ", 0x7D, 0},	{39, 39, (str) &chr_nil, "K8_BU_FILL_REQ", 0x7E, 0},	{40, 40, (str) &chr_nil, "K8_BU_FILL_L2", 0x7F, 0},	{41, 41, "L1_inst_misses", "K8_IC_REFILL_FROM_L2", 0x82, 0},	{42, 42, "L2_inst_misses", "K8_IC_REFILL_FROM_SYS", 0x83, 0},	{43, 43, (str) &chr_nil, "K8_IC_RESYNC_BY_SNOOP", 0x86, 0},	{44, 44, (str) &chr_nil, "K8_IC_FETCH_STALL", 0x87, 0},

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -