HPCToolkit
tokenize.h File Reference
#include <stdbool.h>
Include dependency graph for tokenize.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define THRESH_DEFAULT   0
 
#define THRESH_VALUE   1
 
#define THRESH_FREQ   2
 

Functions

char * start_tok (char *l)
 
int more_tok (void)
 
char * next_tok (void)
 
int hpcrun_extract_threshold (const char *in, long *th, long def)
 
int hpcrun_extract_ev_thresh (const char *, int, char *, long *, long)
 
bool hpcrun_ev_is (const char *candidate, const char *event_name)
 

Macro Definition Documentation

◆ THRESH_DEFAULT

#define THRESH_DEFAULT   0

Definition at line 55 of file tokenize.h.

◆ THRESH_FREQ

#define THRESH_FREQ   2

Definition at line 57 of file tokenize.h.

◆ THRESH_VALUE

#define THRESH_VALUE   1

Definition at line 56 of file tokenize.h.

Function Documentation

◆ hpcrun_ev_is()

bool hpcrun_ev_is ( const char *  candidate,
const char *  event_name 
)

Definition at line 194 of file tokenize.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_extract_ev_thresh()

int hpcrun_extract_ev_thresh ( const char *  ,
int  ,
char *  ,
long *  ,
long   
)

Definition at line 157 of file tokenize.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_extract_threshold()

int hpcrun_extract_threshold ( const char *  input_string,
long *  threshold,
long  default_value 
)

extract the threshold

Definition at line 103 of file tokenize.c.

Here is the caller graph for this function:

◆ more_tok()

int more_tok ( void  )

Definition at line 78 of file tokenize.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ next_tok()

char* next_tok ( void  )

Definition at line 87 of file tokenize.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ start_tok()

char* start_tok ( char *  l)

Definition at line 70 of file tokenize.c.

Here is the caller graph for this function: