---
name: "PAPI_event_info_t"
section: "3"
platform: "linux"
package: "libpapi-dev"
version: "7.1.0-5+b1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PAPI_event_info_t"
---

# PAPI\_event\_info\_t(3)

## NAME

PAPI\_event\_info\_t

## SYNOPSIS

### Data Fields

unsigned int **event\_code**\
 char **symbol** \[1024\]\
 char **short\_descr** \[64\]\
 char **long\_descr** \[1024\]\
 int **component\_index**\
 char **units** \[64\]\
 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** \[64\]\
 char **postfix** \[256\]\
 unsigned int **code** \[12\]\
 char **name** \[12\]\[256\]\
 char **note** \[1024\]\

## Field Documentation

### unsigned int PAPI\_event\_info\_t::code\[12\]

array of values that further describe the event:

- •

  presets: native event\_code values

- •

  native:, register values(?)

### int PAPI\_event\_info\_t::component\_index

component this event belongs to

### 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

### int PAPI\_event\_info\_t::data\_type

data type returned by PAPI

### char PAPI\_event\_info\_t::derived\[64\]

name of the derived type

- •

  presets: usually NOT\_DERIVED

- •

  native: empty string

### unsigned int PAPI\_event\_info\_t::event\_code

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

### unsigned int PAPI\_event\_info\_t::event\_type

event type or category for preset events only

### int PAPI\_event\_info\_t::location

location event applies to

### char PAPI\_event\_info\_t::long\_descr\[1024\]

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

### char PAPI\_event\_info\_t::name\[12\]\[256\]

\< names of code terms:

- •

  presets: native event names,

- •

  native: descriptive strings for each register value(?)

### char PAPI\_event\_info\_t::note\[1024\]

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

### char PAPI\_event\_info\_t::postfix\[256\]

string containing postfix operations; only defined for preset events of derived type DERIVED\_POSTFIX

### char PAPI\_event\_info\_t::short\_descr\[64\]

a short description suitable for use as a label

### char PAPI\_event\_info\_t::symbol\[1024\]

name of the event

### int PAPI\_event\_info\_t::timescope

from start, etc.

### char PAPI\_event\_info\_t::units\[64\]

units event is measured in

### int PAPI\_event\_info\_t::update\_freq

how frequently event is updated

### int PAPI\_event\_info\_t::update\_type

how event is updated

### int PAPI\_event\_info\_t::value\_type

sum or absolute

## Author

Generated automatically by Doxygen for PAPI from the source code.
