PAPI  5.7.0.0
PAPI_event_info_t Struct Reference

Data Fields

unsigned int event_code
 
char symbol [PAPI_HUGE_STR_LEN]
 
char short_descr [PAPI_MIN_STR_LEN]
 
char long_descr [PAPI_HUGE_STR_LEN]
 
int component_index
 
char units [PAPI_MIN_STR_LEN]
 
int location
 
int data_type
 
int value_type
 
int timescope
 
int update_type
 
int update_freq
 
unsigned int count
 
unsigned int event_type
 
char derived [PAPI_MIN_STR_LEN]
 
char postfix [PAPI_2MAX_STR_LEN]
 
unsigned int code [PAPI_MAX_INFO_TERMS]
 
char name [PAPI_MAX_INFO_TERMS][PAPI_2MAX_STR_LEN]
 
char note [PAPI_HUGE_STR_LEN]
 

Detailed Description

Definition at line 964 of file papi.h.

Field Documentation

◆ code

unsigned int PAPI_event_info_t::code

array of values that further describe the event:

  • presets: native event_code values
  • native:, register values(?)

Definition at line 1004 of file papi.h.

◆ component_index

int PAPI_event_info_t::component_index

component this event belongs to

Definition at line 975 of file papi.h.

◆ count

unsigned int PAPI_event_info_t::count

number of terms (usually 1) in the code and name fields

  • presets: these are native events
  • native: these are unused

Definition at line 988 of file papi.h.

◆ data_type

int PAPI_event_info_t::data_type

data type returned by PAPI

Definition at line 978 of file papi.h.

◆ derived

char PAPI_event_info_t::derived

name of the derived type

  • presets: usually NOT_DERIVED
  • native: empty string

Definition at line 996 of file papi.h.

◆ event_code

unsigned int PAPI_event_info_t::event_code

preset (0x8xxxxxxx) or native (0x4xxxxxxx) event code

Definition at line 965 of file papi.h.

◆ event_type

unsigned int PAPI_event_info_t::event_type

event type or category for preset events only

Definition at line 993 of file papi.h.

◆ location

int PAPI_event_info_t::location

location event applies to

Definition at line 977 of file papi.h.

◆ long_descr

char PAPI_event_info_t::long_descr

a longer description: typically a sentence for presets, possibly a paragraph from vendor docs for native events

Definition at line 970 of file papi.h.

◆ name

char PAPI_event_info_t::name

< names of code terms: - presets: native event names,

  • native: descriptive strings for each register value(?)

Definition at line 1010 of file papi.h.

◆ note

char PAPI_event_info_t::note

an optional developer note supplied with a preset event to delineate platform specific anomalies or restrictions

Definition at line 1014 of file papi.h.

◆ postfix

char PAPI_event_info_t::postfix

string containing postfix operations; only defined for preset events of derived type DERIVED_POSTFIX

Definition at line 999 of file papi.h.

◆ short_descr

char PAPI_event_info_t::short_descr

a short description suitable for use as a label

Definition at line 968 of file papi.h.

◆ symbol

char PAPI_event_info_t::symbol

name of the event

Definition at line 967 of file papi.h.

◆ timescope

int PAPI_event_info_t::timescope

from start, etc.

Definition at line 980 of file papi.h.

◆ units

char PAPI_event_info_t::units

units event is measured in

Definition at line 976 of file papi.h.

◆ update_freq

int PAPI_event_info_t::update_freq

how frequently event is updated

Definition at line 982 of file papi.h.

◆ update_type

int PAPI_event_info_t::update_type

how event is updated

Definition at line 981 of file papi.h.

◆ value_type

int PAPI_event_info_t::value_type

sum or absolute

Definition at line 979 of file papi.h.


The documentation for this struct was generated from the following files: