PAPI 7.1.0.0
Loading...
Searching...
No Matches
pfmlib_pentium4.h File Reference
Include dependency graph for pfmlib_pentium4.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

union  pentium4_escr_value_t
 
union  pentium4_cccr_value_t
 

Macros

#define EVENT_MASK_BITS   16
 
#define EVENT_SELECT_BITS   6
 

Macro Definition Documentation

◆ EVENT_MASK_BITS

#define EVENT_MASK_BITS   16

pentium4_escr_value_t

Bit-wise breakdown of the ESCR registers.

Bits Description


63 - 31 Reserved 30 - 25 Event Select 24 - 9 Event Mask 8 - 5 Tag Value 4 Tag Enable 3 T0 OS - Enable counting in kernel mode (thread 0) 2 T0 USR - Enable counting in user mode (thread 0) 1 T1 OS - Enable counting in kernel mode (thread 1) 0 T1 USR - Enable counting in user mode (thread 1)

Definition at line 55 of file pfmlib_pentium4.h.

◆ EVENT_SELECT_BITS

#define EVENT_SELECT_BITS   6

Definition at line 56 of file pfmlib_pentium4.h.