|
HPCToolkit
|
#include <ctype.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <stdbool.h>#include "tokenize.h"
Go to the source code of this file.
Macros | |
| #define | MIN(a, b) (((a)<=(b))?(a):(b)) |
| #define | EVENT_DELIMITER '@' |
| #define | PREFIX_FREQUENCY 'f' |
Functions | |
| char * | start_tok (char *lst) |
| int | more_tok (void) |
| char * | next_tok (void) |
| int | hpcrun_extract_threshold (const char *input_string, long *threshold, long default_value) |
| int | hpcrun_extract_ev_thresh (const char *in, int evlen, char *ev, long *th, long def) |
| bool | hpcrun_ev_is (const char *candidate, const char *event_name) |
Variables | |
| static char * | tmp |
| static char * | tk |
| static char * | last |
| static char * | sep1 = " ,;" |
| #define EVENT_DELIMITER '@' |
Definition at line 60 of file tokenize.c.
| #define MIN | ( | a, | |
| b | |||
| ) | (((a)<=(b))?(a):(b)) |
Definition at line 58 of file tokenize.c.
| #define PREFIX_FREQUENCY 'f' |
Definition at line 61 of file tokenize.c.
| bool hpcrun_ev_is | ( | const char * | candidate, |
| const char * | event_name | ||
| ) |
Definition at line 194 of file tokenize.c.


| int hpcrun_extract_ev_thresh | ( | const char * | in, |
| int | evlen, | ||
| char * | ev, | ||
| long * | th, | ||
| long | def | ||
| ) |
Definition at line 157 of file tokenize.c.


| int hpcrun_extract_threshold | ( | const char * | input_string, |
| long * | threshold, | ||
| long | default_value | ||
| ) |
extract the threshold
Definition at line 103 of file tokenize.c.

| int more_tok | ( | void | ) |
Definition at line 78 of file tokenize.c.


| char* next_tok | ( | void | ) |
Definition at line 87 of file tokenize.c.


| char* start_tok | ( | char * | lst | ) |
|
static |
Definition at line 65 of file tokenize.c.
|
static |
Definition at line 67 of file tokenize.c.
|
static |
Definition at line 64 of file tokenize.c.
|
static |
Definition at line 63 of file tokenize.c.