Provides instrumentation capabilities for runtime functions. More...
Static Public Member Functions | |
static void | initialize (option const &) |
Initializes instrumentation. | |
static void | finalize (void) |
Finalizes instrumentation and outputs everything to the log file. | |
static void | accumulate (const char *) |
Increases the counter for the given key. | |
static void | push_back (const char *, int) |
Pushes back the value for the given key. | |
static void | clear (void) |
Clears all accumulated data. | |
Provides instrumentation capabilities for runtime functions.
This is the in-house instrumentation tool that allows accumulation of values using a key.
The default output file has the name stapl_instrumentation.pid
where pid
is the process id. The name can be overridden with the environment variable STAPL_INSTRUMENTATION_FILE
.