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

Go to the source code of this file.

Data Structures

struct  pme_ita2_entry_code_t
 
union  pme_ita2_code_t
 
union  pme_ita2_qualifiers_t
 
struct  pme_ita2_entry_t
 

Macros

#define PFMLIB_ITA2_EVENT_NORMAL   0x0 /* standard counter */
 
#define PFMLIB_ITA2_EVENT_BTB   0x1 /* virtual event used with BTB configuration */
 
#define PFMLIB_ITA2_EVENT_IEAR_TLB   0x2 /* virtual event used for I-EAR TLB configuration */
 
#define PFMLIB_ITA2_EVENT_IEAR_CACHE   0x3 /* virtual event used for I-EAR cache configuration */
 
#define PFMLIB_ITA2_EVENT_DEAR_TLB   0x4 /* virtual event used for D-EAR TLB configuration */
 
#define PFMLIB_ITA2_EVENT_DEAR_CACHE   0x5 /* virtual event used for D-EAR cache configuration */
 
#define PFMLIB_ITA2_EVENT_DEAR_ALAT   0x6 /* virtual event used for D-EAR ALAT configuration */
 
#define event_is_ear(e)   ((e)->pme_type >= PFMLIB_ITA2_EVENT_IEAR_TLB &&(e)->pme_type <= PFMLIB_ITA2_EVENT_DEAR_ALAT)
 
#define event_is_iear(e)   ((e)->pme_type == PFMLIB_ITA2_EVENT_IEAR_TLB || (e)->pme_type == PFMLIB_ITA2_EVENT_IEAR_CACHE)
 
#define event_is_dear(e)   ((e)->pme_type >= PFMLIB_ITA2_EVENT_DEAR_TLB && (e)->pme_type <= PFMLIB_ITA2_EVENT_DEAR_ALAT)
 
#define event_is_ear_cache(e)   ((e)->pme_type == PFMLIB_ITA2_EVENT_DEAR_CACHE || (e)->pme_type == PFMLIB_ITA2_EVENT_IEAR_CACHE)
 
#define event_is_ear_tlb(e)   ((e)->pme_type == PFMLIB_ITA2_EVENT_IEAR_TLB || (e)->pme_type == PFMLIB_ITA2_EVENT_DEAR_TLB)
 
#define event_is_ear_alat(e)   ((e)->pme_type == PFMLIB_ITA2_EVENT_DEAR_ALAT)
 
#define event_is_btb(e)   ((e)->pme_type == PFMLIB_ITA2_EVENT_BTB)
 
#define pme_code   pme_entry_code.pme_ita2_code.pme_code
 
#define pme_umask   pme_entry_code.pme_ita2_code.pme_umask
 
#define pme_used   pme_qualifiers.pme_qual_struct.pme_used
 
#define pme_type   pme_entry_code.pme_ita2_code.pme_type
 
#define event_opcm_ok(e)   ((e)->pme_qualifiers.pme_qual.pme_opm==1)
 
#define event_iarr_ok(e)   ((e)->pme_qualifiers.pme_qual.pme_iar==1)
 
#define event_darr_ok(e)   ((e)->pme_qualifiers.pme_qual.pme_dar==1)
 

Macro Definition Documentation

◆ event_darr_ok

#define event_darr_ok (   e)    ((e)->pme_qualifiers.pme_qual.pme_dar==1)

Definition at line 111 of file pfmlib_itanium2_priv.h.

◆ event_iarr_ok

#define event_iarr_ok (   e)    ((e)->pme_qualifiers.pme_qual.pme_iar==1)

Definition at line 110 of file pfmlib_itanium2_priv.h.

◆ event_is_btb

#define event_is_btb (   e)    ((e)->pme_type == PFMLIB_ITA2_EVENT_BTB)

Definition at line 54 of file pfmlib_itanium2_priv.h.

◆ event_is_dear

#define event_is_dear (   e)    ((e)->pme_type >= PFMLIB_ITA2_EVENT_DEAR_TLB && (e)->pme_type <= PFMLIB_ITA2_EVENT_DEAR_ALAT)

Definition at line 50 of file pfmlib_itanium2_priv.h.

◆ event_is_ear

#define event_is_ear (   e)    ((e)->pme_type >= PFMLIB_ITA2_EVENT_IEAR_TLB &&(e)->pme_type <= PFMLIB_ITA2_EVENT_DEAR_ALAT)

Definition at line 48 of file pfmlib_itanium2_priv.h.

◆ event_is_ear_alat

#define event_is_ear_alat (   e)    ((e)->pme_type == PFMLIB_ITA2_EVENT_DEAR_ALAT)

Definition at line 53 of file pfmlib_itanium2_priv.h.

◆ event_is_ear_cache

#define event_is_ear_cache (   e)    ((e)->pme_type == PFMLIB_ITA2_EVENT_DEAR_CACHE || (e)->pme_type == PFMLIB_ITA2_EVENT_IEAR_CACHE)

Definition at line 51 of file pfmlib_itanium2_priv.h.

◆ event_is_ear_tlb

#define event_is_ear_tlb (   e)    ((e)->pme_type == PFMLIB_ITA2_EVENT_IEAR_TLB || (e)->pme_type == PFMLIB_ITA2_EVENT_DEAR_TLB)

Definition at line 52 of file pfmlib_itanium2_priv.h.

◆ event_is_iear

#define event_is_iear (   e)    ((e)->pme_type == PFMLIB_ITA2_EVENT_IEAR_TLB || (e)->pme_type == PFMLIB_ITA2_EVENT_IEAR_CACHE)

Definition at line 49 of file pfmlib_itanium2_priv.h.

◆ event_opcm_ok

#define event_opcm_ok (   e)    ((e)->pme_qualifiers.pme_qual.pme_opm==1)

Definition at line 109 of file pfmlib_itanium2_priv.h.

◆ PFMLIB_ITA2_EVENT_BTB

#define PFMLIB_ITA2_EVENT_BTB   0x1 /* virtual event used with BTB configuration */

Definition at line 41 of file pfmlib_itanium2_priv.h.

◆ PFMLIB_ITA2_EVENT_DEAR_ALAT

#define PFMLIB_ITA2_EVENT_DEAR_ALAT   0x6 /* virtual event used for D-EAR ALAT configuration */

Definition at line 46 of file pfmlib_itanium2_priv.h.

◆ PFMLIB_ITA2_EVENT_DEAR_CACHE

#define PFMLIB_ITA2_EVENT_DEAR_CACHE   0x5 /* virtual event used for D-EAR cache configuration */

Definition at line 45 of file pfmlib_itanium2_priv.h.

◆ PFMLIB_ITA2_EVENT_DEAR_TLB

#define PFMLIB_ITA2_EVENT_DEAR_TLB   0x4 /* virtual event used for D-EAR TLB configuration */

Definition at line 44 of file pfmlib_itanium2_priv.h.

◆ PFMLIB_ITA2_EVENT_IEAR_CACHE

#define PFMLIB_ITA2_EVENT_IEAR_CACHE   0x3 /* virtual event used for I-EAR cache configuration */

Definition at line 43 of file pfmlib_itanium2_priv.h.

◆ PFMLIB_ITA2_EVENT_IEAR_TLB

#define PFMLIB_ITA2_EVENT_IEAR_TLB   0x2 /* virtual event used for I-EAR TLB configuration */

Definition at line 42 of file pfmlib_itanium2_priv.h.

◆ PFMLIB_ITA2_EVENT_NORMAL

#define PFMLIB_ITA2_EVENT_NORMAL   0x0 /* standard counter */

Definition at line 40 of file pfmlib_itanium2_priv.h.

◆ pme_code

#define pme_code   pme_entry_code.pme_ita2_code.pme_code

Definition at line 104 of file pfmlib_itanium2_priv.h.

◆ pme_type

#define pme_type   pme_entry_code.pme_ita2_code.pme_type

Definition at line 107 of file pfmlib_itanium2_priv.h.

◆ pme_umask

#define pme_umask   pme_entry_code.pme_ita2_code.pme_umask

Definition at line 105 of file pfmlib_itanium2_priv.h.

◆ pme_used

#define pme_used   pme_qualifiers.pme_qual_struct.pme_used

Definition at line 106 of file pfmlib_itanium2_priv.h.