1*66e99fd5SJames Clark[ 2*66e99fd5SJames Clark { 3*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE", 4*66e99fd5SJames Clark "PublicDescription": "Counts accesses to the level 2 cache due to data accesses. Level 2 cache is a unified cache for data and instruction accesses. Accesses are for misses in the first level data cache or translation resolutions due to accesses. This event also counts write back of dirty data from level 1 data cache to the L2 cache." 5*66e99fd5SJames Clark }, 6*66e99fd5SJames Clark { 7*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_REFILL", 8*66e99fd5SJames Clark "PublicDescription": "Counts cache line refills into the level 2 cache. Level 2 cache is a unified cache for data and instruction accesses. Accesses are for misses in the level 1 data cache or translation resolutions due to accesses." 9*66e99fd5SJames Clark }, 10*66e99fd5SJames Clark { 11*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_WB", 12*66e99fd5SJames Clark "PublicDescription": "Counts write-backs of data from the L2 cache to outside the CPU. This includes snoops to the L2 (from other CPUs) which return data even if the snoops cause an invalidation. L2 cache line invalidations which do not write data outside the CPU and snoops which return data from an L1 cache are not counted. Data would not be written outside the cache when invalidating a clean cache line." 13*66e99fd5SJames Clark }, 14*66e99fd5SJames Clark { 15*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_RD", 16*66e99fd5SJames Clark "PublicDescription": "Counts level 2 data cache accesses due to memory read operations. Level 2 cache is a unified cache for data and instruction accesses, accesses are for misses in the level 1 data cache or translation resolutions due to accesses." 17*66e99fd5SJames Clark }, 18*66e99fd5SJames Clark { 19*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_WR", 20*66e99fd5SJames Clark "PublicDescription": "Counts level 2 cache accesses due to memory write operations. Level 2 cache is a unified cache for data and instruction accesses, accesses are for misses in the level 1 data cache or translation resolutions due to accesses." 21*66e99fd5SJames Clark }, 22*66e99fd5SJames Clark { 23*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_REFILL_RD", 24*66e99fd5SJames Clark "PublicDescription": "Counts refills for memory accesses due to memory read operation counted by L2D_CACHE_RD. Level 2 cache is a unified cache for data and instruction accesses, accesses are for misses in the level 1 data cache or translation resolutions due to accesses." 25*66e99fd5SJames Clark }, 26*66e99fd5SJames Clark { 27*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_REFILL_WR", 28*66e99fd5SJames Clark "PublicDescription": "Counts refills for memory accesses due to memory write operation counted by L2D_CACHE_WR. Level 2 cache is a unified cache for data and instruction accesses, accesses are for misses in the level 1 data cache or translation resolutions due to accesses." 29*66e99fd5SJames Clark }, 30*66e99fd5SJames Clark { 31*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_WB_VICTIM", 32*66e99fd5SJames Clark "PublicDescription": "Counts evictions from the level 2 cache because of a line being allocated into the L2 cache." 33*66e99fd5SJames Clark }, 34*66e99fd5SJames Clark { 35*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_WB_CLEAN", 36*66e99fd5SJames Clark "PublicDescription": "Counts write-backs from the level 2 cache that are a result of either:\n\n1. Cache maintenance operations,\n\n2. Snoop responses or,\n\n3. Direct cache transfers to another CPU due to a forwarding snoop request." 37*66e99fd5SJames Clark }, 38*66e99fd5SJames Clark { 39*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_INVAL", 40*66e99fd5SJames Clark "PublicDescription": "Counts each explicit invalidation of a cache line in the level 2 cache by cache maintenance operations that operate by a virtual address, or by external coherency operations. This event does not count if either:\n\n1. A cache refill invalidates a cache line or,\n2. A Cache Maintenance Operation (CMO), which invalidates a cache line specified by set/way, is executed on that CPU.\n\nCMOs that operate by set/way cannot be broadcast from one CPU to another." 41*66e99fd5SJames Clark }, 42*66e99fd5SJames Clark { 43*66e99fd5SJames Clark "PublicDescription": "Counts level 2 cache accesses due to level 1 data cache hardware prefetcher.", 44*66e99fd5SJames Clark "EventCode": "0x1B8", 45*66e99fd5SJames Clark "EventName": "L2D_CACHE_L1HWPRF", 46*66e99fd5SJames Clark "BriefDescription": "L2D cache access due to L1 hardware prefetch" 47*66e99fd5SJames Clark }, 48*66e99fd5SJames Clark { 49*66e99fd5SJames Clark "PublicDescription": "Counts level 2 cache refills where the cache line is requested by a level 1 data cache hardware prefetcher.", 50*66e99fd5SJames Clark "EventCode": "0x1B9", 51*66e99fd5SJames Clark "EventName": "L2D_CACHE_REFILL_L1HWPRF", 52*66e99fd5SJames Clark "BriefDescription": "L2D cache refill due to L1 hardware prefetch" 53*66e99fd5SJames Clark }, 54*66e99fd5SJames Clark { 55*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_LMISS_RD", 56*66e99fd5SJames Clark "PublicDescription": "Counts cache line refills into the level 2 unified cache from any memory read operations that incurred additional latency." 57*66e99fd5SJames Clark }, 58*66e99fd5SJames Clark { 59*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_RW", 60*66e99fd5SJames Clark "PublicDescription": "Counts level 2 cache demand accesses from any load/store operations. Level 2 cache is a unified cache for data and instruction accesses, accesses are for misses in the level 1 data cache or translation resolutions due to accesses." 61*66e99fd5SJames Clark }, 62*66e99fd5SJames Clark { 63*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_PRFM", 64*66e99fd5SJames Clark "PublicDescription": "Counts level 2 data cache accesses generated by software preload or prefetch instructions." 65*66e99fd5SJames Clark }, 66*66e99fd5SJames Clark { 67*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_MISS", 68*66e99fd5SJames Clark "PublicDescription": "Counts cache line misses in the level 2 cache. Level 2 cache is a unified cache for data and instruction accesses. Accesses are for misses in the level 1 data cache or translation resolutions due to accesses." 69*66e99fd5SJames Clark }, 70*66e99fd5SJames Clark { 71*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_REFILL_PRFM", 72*66e99fd5SJames Clark "PublicDescription": "Counts refills due to accesses generated as a result of software preload or prefetch instructions as counted by L2D_CACHE_PRFM." 73*66e99fd5SJames Clark }, 74*66e99fd5SJames Clark { 75*66e99fd5SJames Clark "ArchStdEvent": "L2D_CACHE_HWPRF", 76*66e99fd5SJames Clark "PublicDescription": "Counts level 2 data cache accesses generated by L2D hardware prefetchers." 77*66e99fd5SJames Clark } 78*66e99fd5SJames Clark] 79