Some more Athlon counter names.
This commit is contained in:
parent
1ffad275a3
commit
074387420c
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmc.c,v 1.7 2002/06/07 04:07:08 gmcgarry Exp $ */
|
||||
/* $NetBSD: pmc.c,v 1.8 2002/06/07 05:26:45 gmcgarry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000 Wasabi Systems, Inc.
|
||||
@ -222,19 +222,54 @@ const struct pmc_name2val i686_names[] = {
|
||||
};
|
||||
|
||||
const struct pmc_name2val k7_names[] = {
|
||||
{ "seg-load-all", K7_SEGMENT_REG_LOADS, 0x3f },
|
||||
{ "seg-load-all", K7_SEGMENT_REG_LOADS, 0x7f },
|
||||
{ "seg-load-es", K7_SEGMENT_REG_LOADS, 0x01 },
|
||||
{ "seg-load-cs", K7_SEGMENT_REG_LOADS, 0x02 },
|
||||
{ "seg-load-ss", K7_SEGMENT_REG_LOADS, 0x04 },
|
||||
{ "seg-load-ds", K7_SEGMENT_REG_LOADS, 0x08 },
|
||||
{ "seg-load-fs", K7_SEGMENT_REG_LOADS, 0x10 },
|
||||
{ "seg-load-gs", K7_SEGMENT_REG_LOADS, 0x20 },
|
||||
{ "seg-load-hs", K7_SEGMENT_REG_LOADS, 0x40 },
|
||||
{ "seg-load-stall", K7_SEGMENT_LOAD_STALL, 0 },
|
||||
{ "l1cache-access", K7_DATA_CACHE_ACCESS, 0 },
|
||||
{ "l1cache-miss", K7_DATA_CACHE_MISS, 0 },
|
||||
{ "l1cache-refill", K7_DATA_CACHE_REFILL, 0x1f },
|
||||
{ "l1cache-refill-invalid", K7_DATA_CACHE_REFILL, 0x01 },
|
||||
{ "l1cache-refill-shared", K7_DATA_CACHE_REFILL, 0x02 },
|
||||
{ "l1cache-refill-exclusive", K7_DATA_CACHE_REFILL, 0x04 },
|
||||
{ "l1cache-refill-owner", K7_DATA_CACHE_REFILL, 0x08 },
|
||||
{ "l1cache-refill-modified", K7_DATA_CACHE_REFILL, 0x10 },
|
||||
{ "l1cache-load", K7_DATA_CACHE_REFILL_SYSTEM, 0x1f },
|
||||
{ "l1cache-writeback", K7_DATA_CACHE_WBACK, 0 },
|
||||
{ "l1cache-load-invalid", K7_DATA_CACHE_REFILL_SYSTEM, 0x01 },
|
||||
{ "l1cache-load-shared", K7_DATA_CACHE_REFILL_SYSTEM, 0x02 },
|
||||
{ "l1cache-load-exclusive", K7_DATA_CACHE_REFILL_SYSTEM, 0x04 },
|
||||
{ "l1cache-load-owner", K7_DATA_CACHE_REFILL_SYSTEM, 0x08 },
|
||||
{ "l1cache-load-modified", K7_DATA_CACHE_REFILL_SYSTEM, 0x10 },
|
||||
{ "l1cache-writeback", K7_DATA_CACHE_WBACK, 0x1f },
|
||||
{ "l1cache-writeback-invalid", K7_DATA_CACHE_WBACK, 0x01 },
|
||||
{ "l1cache-writeback-shared", K7_DATA_CACHE_WBACK, 0x02 },
|
||||
{ "l1cache-writeback-exclusive",K7_DATA_CACHE_WBACK, 0x04 },
|
||||
{ "l1cache-writeback-owner", K7_DATA_CACHE_WBACK, 0x08 },
|
||||
{ "l1cache-writeback-modified", K7_DATA_CACHE_WBACK, 0x10 },
|
||||
{ "l2cache-access", K7_L2_REQUEST, 0xff },
|
||||
{ "l2cache-tag-read", K7_L2_REQUEST, 0x01 },
|
||||
{ "l2cache-tag-write", K7_L2_REQUEST, 0x02 },
|
||||
{ "l2cache-inst-read", K7_L2_REQUEST, 0x04 },
|
||||
{ "l2cache-inst-load", K7_L2_REQUEST, 0x08 },
|
||||
{ "l2cache-data-store", K7_L2_REQUEST, 0x10 },
|
||||
{ "l2cache-data-loadmem", K7_L2_REQUEST, 0x20 },
|
||||
{ "l2cache-data-write", K7_L2_REQUEST, 0x40 },
|
||||
{ "l2cache-data-move", K7_L2_REQUEST, 0x80 },
|
||||
{ "l2cache-access-busy", K7_L2_REQUEST_BUSY, 0 },
|
||||
{ "l2cache-hit", K7_L2_DTLB_HIT, 0 },
|
||||
{ "l2cache-miss", K7_L2_DTLB_MISS, 0 },
|
||||
{ "mem-misalign-ref", K7_MISALIGNED_DATA_REF, 0 },
|
||||
{ "mem-access", K7_SYSTEM_REQUEST, 0 },
|
||||
{ "mem-access-uc", K7_SYSTEM_REQUEST_TYPE, 0x01 },
|
||||
{ "mem-access-wc", K7_SYSTEM_REQUEST_TYPE, 0x04 },
|
||||
{ "mem-access-wt", K7_SYSTEM_REQUEST_TYPE, 0x10 },
|
||||
{ "mem-access-wp", K7_SYSTEM_REQUEST_TYPE, 0x20 },
|
||||
{ "mem-access-wb", K7_SYSTEM_REQUEST_TYPE, 0x40 },
|
||||
{ "ins-fetch", K7_IFU_IFETCH, 0 },
|
||||
{ "ins-fetch-miss", K7_IFU_IFETCH_MISS, 0 },
|
||||
{ "ins-refill-l2", K7_IFU_REFILL_FROM_L2, 0 },
|
||||
|
Loading…
Reference in New Issue
Block a user