PAPI  5.4.0.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 960 of file papi.h.

Field Documentation

unsigned int PAPI_event_info_t::code[PAPI_MAX_INFO_TERMS]

array of values that further describe the event:

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

Definition at line 1000 of file papi.h.

int PAPI_event_info_t::component_index

component this event belongs to

Definition at line 971 of file papi.h.

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 984 of file papi.h.

int PAPI_event_info_t::data_type

data type returned by PAPI

Definition at line 974 of file papi.h.

char PAPI_event_info_t::derived[PAPI_MIN_STR_LEN]

name of the derived type

  • presets: usually NOT_DERIVED
  • native: empty string

Definition at line 992 of file papi.h.

unsigned int PAPI_event_info_t::event_code

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

Definition at line 961 of file papi.h.

unsigned int PAPI_event_info_t::event_type

event type or category for preset events only

Definition at line 989 of file papi.h.

int PAPI_event_info_t::location

location event applies to

Definition at line 973 of file papi.h.

char PAPI_event_info_t::long_descr[PAPI_HUGE_STR_LEN]

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

Definition at line 966 of file papi.h.

char PAPI_event_info_t::name[PAPI_MAX_INFO_TERMS][PAPI_2MAX_STR_LEN]

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

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

Definition at line 1006 of file papi.h.

char PAPI_event_info_t::note[PAPI_HUGE_STR_LEN]
  an optional developer note 
                    supplied with a preset event
                    to delineate platform specific 

anomalies or restrictions

Definition at line 1010 of file papi.h.

char PAPI_event_info_t::postfix[PAPI_2MAX_STR_LEN]

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

Definition at line 995 of file papi.h.

char PAPI_event_info_t::short_descr[PAPI_MIN_STR_LEN]

a short description suitable for use as a label

Definition at line 964 of file papi.h.

char PAPI_event_info_t::symbol[PAPI_HUGE_STR_LEN]

name of the event

Definition at line 963 of file papi.h.

int PAPI_event_info_t::timescope

from start, etc.

Definition at line 976 of file papi.h.

char PAPI_event_info_t::units[PAPI_MIN_STR_LEN]

units event is measured in

Definition at line 972 of file papi.h.

int PAPI_event_info_t::update_freq

how frequently event is updated

Definition at line 978 of file papi.h.

int PAPI_event_info_t::update_type

how event is updated

Definition at line 977 of file papi.h.

int PAPI_event_info_t::value_type

sum or absolute

Definition at line 975 of file papi.h.


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