GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
instr.c File Reference
#include "ghost/instr.h"
#include "ghost/func_util.h"
Include dependency graph for instr.c:

Functions

ghost_error ghost_instr_create ()
 
ghost_error ghost_instr_destroy ()
 
void ghost_instr_prefix_set (const char *prefix)
 Set the instrumentation prefix. More...
 
char * ghost_instr_prefix_get ()
 
void ghost_instr_suffix_set (const char *suffix)
 Set the instrumentation suffix. More...
 
char * ghost_instr_suffix_get ()
 

Variables

static pthread_key_t ghost_instr_prefix_key
 
static pthread_key_t ghost_instr_suffix_key
 
pthread_key_t ghost_instr_enable_key
 

Function Documentation

ghost_error ghost_instr_create ( )
ghost_error ghost_instr_destroy ( )
char* ghost_instr_prefix_get ( )
void ghost_instr_prefix_set ( const char *  prefix)

Set the instrumentation prefix.

Parameters
prefixThe prefix.

The prefix will be prepended to the instrumentation tag.

char* ghost_instr_suffix_get ( )
void ghost_instr_suffix_set ( const char *  suffix)

Set the instrumentation suffix.

Parameters
suffixThe suffix.

The suffix will be appended to the instrumentation tag.

Variable Documentation

pthread_key_t ghost_instr_enable_key
pthread_key_t ghost_instr_prefix_key
static
pthread_key_t ghost_instr_suffix_key
static