Macros used for code instrumentation.
More...
#include "config.h"
#include <ghost/log.h>
#include <ghost/error.h>
#include <pthread.h>
Go to the source code of this file.
Macros used for code instrumentation.
- Author
- Moritz Kreutzer morit.nosp@m.z.kr.nosp@m.eutze.nosp@m.r@fa.nosp@m.u.de
#define GHOST_INSTR_START |
( |
|
tag | ) |
|
Value:if (GHOST_VERBOSITY > 1) {
\
}\
#define GHOST_DEBUG_LOG(level,...)
Definition: log.h:114
Instrumentation will be ignored.
#define GHOST_INSTR_STOP |
( |
|
tag | ) |
|
Value:if (GHOST_VERBOSITY > 1) {
\
}\
#define GHOST_DEBUG_LOG(level,...)
Definition: log.h:114
Instrumentation will be ignored.
char* ghost_instr_prefix_get |
( |
| ) |
|
void ghost_instr_prefix_set |
( |
const char * |
prefix | ) |
|
Set the instrumentation prefix.
- Parameters
-
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
-
The suffix will be appended to the instrumentation tag.
pthread_key_t ghost_instr_enable_key |