PAPI 7.1.0.0
Loading...
Searching...
No Matches
map-k7.c
Go to the documentation of this file.
1/****************************/
2/* THIS IS OPEN SOURCE CODE */
3/****************************/
4
5/*
6* File: map-k7.c
7* Author: Harald Servat
8* redcrash@gmail.com
9*/
10
11#include "freebsd.h"
12#include "papiStdEventDefs.h"
13#include "map.h"
14
15
16/****************************************************************************
17 K7 SUBSTRATE
18 K7 SUBSTRATE
19 K7 SUBSTRATE (aka Athlon)
20 K7 SUBSTRATE
21 K7 SUBSTRATE
22****************************************************************************/
23
24/*
25 NativeEvent_Value_K7Processor must match K7Processor_info
26*/
27
29{
30 { "k7-dc-accesses", "Count data cache accesses." },
31 { "k7-dc-misses", "Count data cache misses." },
32 { "k7-dc-refills-from-l2", "Count data cache refills from L2 cache." },
33 { "k7-dc-refills-from-system", "Count data cache refills from system memory." },
34 { "k7-dc-writebacks", "Count data cache writebacks." },
35 { "k7-l1-dtlb-miss-and-l2-dtlb-hits", "Count L1 DTLB misses and L2 DTLB hits." },
36 { "k7-l1-and-l2-dtlb-misses", "Count L1 and L2 DTLB misses." },
37 { "k7-misaligned-references", "Count misaligned data references." },
38 { "k7-ic-fetches", "Count instruction cache fetches." },
39 { "k7-ic-misses", "Count instruction cache misses." },
40 { "k7-l1-itlb-misses", "Count L1 ITLB misses that are L2 ITLB hits." },
41 { "k7-l1-l2-itlb-misses", "Count L1 (and L2) ITLB misses." },
42 { "k7-retired-instructions", "Count all retired instructions." },
43 { "k7-retired-ops", "Count retired ops." },
44 { "k7-retired-branches", "Count all retired branches (conditional, unconditional, exceptions and interrupts)."},
45 { "k7-retired-branches-mispredicted", "Count all misprediced retired branches." },
46 { "k7-retired-taken-branches", "Count retired taken branches." },
47 { "k7-retired-taken-branches-mispredicted", "Count mispredicted taken branches that were retired." },
48 { "k7-retired-far-control-transfers", "Count retired far control transfers." },
49 { "k7-retired-resync-branches", "Count retired resync branches (non control transfer branches)." },
50 { "k7-interrupts-masked-cycles", "Count the number of cycles when the processor's IF flag was zero." },
51 { "k7-interrupts-masked-while-pending-cycles", "Count the number of cycles interrupts were masked while pending due to the processor's IF flag being zero." },
52 { "k7-hardware-interrupts", "Count the number of taken hardware interrupts." },
53 /* Nearly special counters */
54 { "k7-dc-refills-from-l2,unitmask=+m", "Count data cache refills from L2 cache (in M state)." },
55 { "k7-dc-refills-from-l2,unitmask=+oes", "Count data cache refills from L2 cache (in OES state)." },
56 { "k7-dc-refills-from-system,unitmask=+m", "Count data cache refills from system memory (in M state)." },
57 { "k7-dc-refills-from-system,unitmask=+oes", "Count data cache refills from system memory (in OES state)." },
58 { NULL, NULL }
59};
60
61
Native_Event_LabelDescription_t K7Processor_info[]
Definition: map-k7.c:28