|
Generic Trace Generator (GTG)
0.1
|
GTGBasic is a basic interface to generate trace in various formats. More...
Go to the source code of this file.
Defines | |
| #define | GTG_FLAG_NONE 0 |
| No flag specified. | |
| #define | GTG_FLAG_USE_MPI 1 |
| Several MPI processes are currently using GTG. | |
| #define | GTG_FLAG_NOTBUF 2 |
| For writing the traces in a non-buffered mode. | |
| #define | GTG_FLAG_OUTOFORDER 4 |
| Allow the application to record events out of order. | |
Typedefs | |
| typedef uint8_t | gtg_flag_t |
| Flags that can be specified to GTG. | |
| typedef enum traceType | traceType_t |
Enumerations | |
| enum | traceType { PAJE, VITE, OTF, TAU } |
| The type of the output trace. More... | |
Functions | |
| void | setTraceType (traceType_t type) |
| Set the type of output trace. | |
| traceType_t | getTraceType () |
| Get the type of the output trace. | |
| char * | getName (int procRk) |
| To get the name of the file to give to the addCont function for processors. | |
| int | bufferedModeActivated () |
| Check wether the buffered-mode is activated. | |
| trace_return_t | initTrace (const char *filename, int rank, gtg_flag_t flags) |
| Initialize a trace. | |
| trace_return_t | endTrace () |
| Finalize a trace. | |
| trace_return_t | setCompress (int val) |
| Enable trace compression (only available for OTF traces). | |
| trace_return_t | addContType (const char *alias, const char *contType, const char *name) |
| Add a Container Type. | |
| trace_return_t | addStateType (const char *alias, const char *contType, const char *name) |
| Add a State Type. | |
| trace_return_t | addEventType (const char *alias, const char *contType, const char *name) |
| Add an Event Type. | |
| trace_return_t | addLinkType (const char *alias, const char *name, const char *contType, const char *srcContType, const char *destContType) |
| Add a Link Type. | |
| trace_return_t | addVarType (const char *alias, const char *name, const char *contType) |
| Add a Variable Type. | |
| trace_return_t | addEntityValue (const char *alias, const char *entType, const char *name, gtg_color_t p_color) |
| Add an Entity Value. | |
| trace_return_t | addContainer (varPrec time, const char *alias, const char *type, const char *container, const char *name, const char *file) |
| Add a Container. | |
| trace_return_t | destroyContainer (varPrec time, const char *name, const char *type) |
| Destroy a Container. | |
| trace_return_t | setState (varPrec time, const char *type, const char *cont, const char *val) |
| Set the State of a Container. | |
| trace_return_t | pushState (varPrec time, const char *type, const char *cont, const char *val) |
| Save the current State on a stack and change the State of a Container. | |
| trace_return_t | popState (varPrec time, const char *type, const char *cont) |
| Revert the State of a Container to its previous value. | |
| trace_return_t | addEvent (varPrec time, const char *type, const char *cont, const char *val) |
| Add an Event. | |
| trace_return_t | startLink (varPrec time, const char *type, const char *cont, const char *src, const char *dest, const char *val, const char *key) |
| Start a Link. | |
| trace_return_t | endLink (varPrec time, const char *type, const char *cont, const char *src, const char *dest, const char *val, const char *key) |
| End a Link. | |
| trace_return_t | setVar (varPrec time, const char *type, const char *cont, varPrec val) |
| Set a Variable value. | |
| trace_return_t | addVar (varPrec time, const char *type, const char *cont, varPrec val) |
| Add a value to a Variable. | |
| trace_return_t | subVar (varPrec time, const char *type, const char *cont, varPrec val) |
| Substract a value from a Variable. | |
| trace_return_t | AddComment (const char *comment) |
| Add some Comment in Trace file. | |
GTGBasic is a basic interface to generate trace in various formats.
It has been initiated in 2010 by *eztrace* and *ViTE* projects that both needs a good library to generate traces.
| #define GTG_FLAG_NONE 0 |
No flag specified.
| #define GTG_FLAG_NOTBUF 2 |
For writing the traces in a non-buffered mode.
| #define GTG_FLAG_OUTOFORDER 4 |
Allow the application to record events out of order.
| #define GTG_FLAG_USE_MPI 1 |
Several MPI processes are currently using GTG.
| typedef uint8_t gtg_flag_t |
Flags that can be specified to GTG.
| typedef enum traceType traceType_t |
1.7.6.1