PAPI  5.3.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
map-p4.c
Go to the documentation of this file.
1 /****************************/
2 /* THIS IS OPEN SOURCE CODE */
3 /****************************/
4 
5 /*
6 * File: map-p4.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  P4 SUBSTRATE
18  P4 SUBSTRATE
19  P4 SUBSTRATE (aka Pentium IV)
20  P4 SUBSTRATE
21  P4 SUBSTRATE
22 ****************************************************************************/
23 
24 /*
25  NativeEvent_Value_P4Processor must match P4Processor_info
26 */
27 
29 {
30  { "p4-128bit-mmx-uop", "Count integer SIMD SSE2 instructions that operate on 128 bit SIMD operands." },
31  { "p4-64bit-mmx-uop", "Count MMX instructions that operate on 64 bit SIMD operands." },
32  { "p4-b2b-cycles", "Count back-to-back bys cycles." },
33  { "p4-bnr", "Count bus-not-ready conditions." },
34  { "p4-bpu-fetch-request", "Count instruction fetch requests." },
35  { "p4-branch-retired", "Counts retired branches." },
36  { "p4-bsq-active-entries", "Count the number of entries (clipped at 15) currently active in the BSQ." },
37  { "p4-bsq-allocation", "Count allocations in the bus sequence unit." },
38  { "p4-bsq-cache-reference", "Count cache references as seen by the bus unit." },
39  { "p4-execution-event", "Count the retirement uops through the execution mechanism." },
40  { "p4-front-end-event", "Count the retirement uops through the frontend mechanism." },
41  { "p4-fsb-data-activity", "Count each DBSY or DRDY event." },
42  { "p4-global-power-events", "Count cycles during which the processor is not stopped." },
43  { "p4-instr-retired", "Count all kind of instructions retired during a clock cycle." },
44  { "p4-ioq-active-entries", "Count the number of entries (clipped at 15) in the IOQ that are active." },
45  { "p4-ioq-allocation", "Count various types of transactions on the bus." },
46  { "p4-itlb-reference", "Count translations using the intruction translation look-aside buffer." },
47  { "p4-load-port-replay", "Count replayed events at the load port." },
48  { "p4-mispred-branch-retired", "Count mispredicted IA-32 branch instructions." },
49  { "p4-machine-clear", "Count the number of pipeline clears seen by the processor." },
50  { "p4-memory-cancel", " Count the cancelling of various kinds of requests in the data cache address control unit of the CPU." },
51  { "p4-memory-complete", "Count the completion of load split, store split, uncacheable split and uncacheable load operations." },
52  { "p4-mob-load-replay", "Count load replays triggered by the memory order buffer." },
53  { "p4-packed-dp-uop", "Count packed double-precision uops." },
54  { "p4-packed-sp-uop", "Count packed single-precision uops." },
55  { "p4-page-walk-type", "Count page walks performed by the page miss handler." },
56  { "p4-replay-event", "Count the retirement of tagged uops" },
57  { "p4-resource-stall", "Count the occurrence or latency of stalls in the allocator." },
58  { "p4-response", "Count different types of responses." },
59  { "p4-retired-branch-type", "Count branches retired." },
60  { "p4-retired-mispred-branch-type", "Count mispredicted branches retired." },
61  { "p4-scalar-dp-uop", "Count the number of scalar double-precision uops." },
62  { "p4-scalar-sp-uop", "Count the number of scalar single-precision uops." },
63  { "p4-snoop", "Count snoop traffic." },
64  { "p4-sse-input-assist", "Count the number of times an assist is required to handle problems with the operands for SSE and SSE2 operations." },
65  { "p4-store-port-replay", "Count events replayed at the store port." },
66  { "p4-tc-deliver-mode", "Count the duration in cycles of operating modes of the trace cache and decode engine." },
67  { "p4-tc-ms-xfer", "Count the number of times uop delivery changed from the trace cache to MS ROM." },
68  { "p4-uop-queue-writes", "Count the number of valid uops written to the uop queue." },
69  { "p4-uop-type", "This event is used in conjunction with the front-end at-retirement mechanism to tag load and store uops." },
70  { "p4-uops-retired", "Count uops retired during a clock cycle." },
71  { "p4-wc-buffer", "Count write-combining buffer operations." },
72  { "p4-x87-assist", "Count the retirement of x87 instructions that required special handling." },
73  { "p4-x87-fp-uop", "Count x87 floating-point uops." },
74  { "p4-x87-simd-moves-uop", "Count each x87 FPU, MMX, SSE, or SSE2 uops that load data or store data or perform register-to-register moves." },
75  /* counters with some modifiers */
76  { "p4-uop-queue-writes,mask=+from-tc-build,+from-tc-deliver", "Count the number of valid uops written to the uop queue." },
77  { "p4-page-walk-type,mask=+dtmiss", "Count data page walks performed by the page miss handler." },
78  { "p4-page-walk-type,mask=+itmiss", "Count instruction page walks performed by the page miss handler." },
79  { "p4-instr-retired,mask=+nbogusntag,+nbogustag", "Count all non-bogus instructions retired during a clock cycle." },
80  { "p4-branch-retired,mask=+mmnp,+mmnm", "Count branches not-taken." },
81  { "p4-branch-retired,mask=+mmtm,+mmtp", "Count branches taken." },
82  { "p4-branch-retired,mask=+mmnp,+mmtp", "Count branches predicted." },
83  { "p4-branch-retired,mask=+mmnm,+mmtm", "Count branches mis-predicted." },
84  { "p4-bsq-cache-reference,mask=+rd-2ndl-miss", "Count 2nd level cache misses." },
85  { "p4-bsq-cache-reference,mask=+rd-2ndl-miss,+rd-2ndl-hits,+rd-2ndl-hite,+rd-2ndl-hitm", "Count 2nd level cache accesses." },
86  { "p4-bsq-cache-reference,mask=+rd-2ndl-hits,+rd-2ndl-hite,+rd-2ndl-hitm", "Count 2nd level cache hits." },
87  { "p4-bsq-cache-reference,mask=+rd-3rdl-miss", "Count 3rd level cache misses." },
88  { "p4-bsq-cache-reference,mask=+rd-3rdl-miss,+rd-3rdl-hits,+rd-3rdl-hite,+rd-3rdl-hitm", "Count 3rd level cache accesses." },
89  { "p4-bsq-cache-reference,mask=+rd-3rdl-hits,+rd-3rdl-hite,+rd-3rdl-hitm", "Count 3rd level cache hits." },
90  { NULL, NULL }
91 };
92 
Native_Event_LabelDescription_t P4Processor_info[]
Definition: map-p4.c:28