HPCToolkit
events.c File Reference
#include <string.h>
#include <stdio.h>
#include <papiStdEventDefs.h>
#include <papi.h>
#include "hpcrun_events.h"
Include dependency graph for events.c:

Go to the source code of this file.

Functions

const papi_event_t * hpcrun_event_by_name (const char *name)
 
const papi_event_t * hpcrun_event_by_code (int code)
 
void hpcrun_write_wrapped_event_list (FILE *fs, const papi_event_t *e)
 
void hpcrun_write_event (FILE *fs, const papi_event_t *e)
 

Variables

papi_event_t hpcrun_event_table []
 

Function Documentation

◆ hpcrun_event_by_code()

const papi_event_t* hpcrun_event_by_code ( int  code)

Definition at line 162 of file events.c.

◆ hpcrun_event_by_name()

const papi_event_t* hpcrun_event_by_name ( const char *  name)

Definition at line 152 of file events.c.

◆ hpcrun_write_event()

void hpcrun_write_event ( FILE *  fs,
const papi_event_t *  e 
)

Definition at line 211 of file events.c.

◆ hpcrun_write_wrapped_event_list()

void hpcrun_write_wrapped_event_list ( FILE *  fs,
const papi_event_t *  e 
)

Definition at line 178 of file events.c.

Variable Documentation

◆ hpcrun_event_table

papi_event_t hpcrun_event_table[]

Definition at line 76 of file events.c.