STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Static Public Member Functions
stapl::runtime::instrument Class Reference

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.
 

Detailed Description

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.


The documentation for this class was generated from the following file: