Generic Trace Generator (GTG)
0.1
|
Functions | |
const otf_color_t | OTF_get_color (gtg_color_t color) |
Converts a GTG color into a OTF color. More... | |
trace_return_t | OTFInitTrace (const char *filename, gtg_flag_t flags) |
Initialize an OTF trace. More... | |
trace_return_t | OTFSetCompress (int val) |
Enable trace compression. More... | |
trace_return_t | OTFAddContType (const char *alias, const char *contType, const char *name) |
Add a Container Type. More... | |
trace_return_t | OTFAddStateType (const char *alias, const char *contType, const char *name) |
Add a State Type. More... | |
trace_return_t | OTFAddEventType (const char *alias, const char *contType, const char *name) |
Add an Event Type. More... | |
trace_return_t | OTFAddLinkType (const char *alias, const char *name, const char *contType, const char *srcContType, const char *destContType) |
Add a Link Type. More... | |
trace_return_t | OTFAddVarType (const char *alias, const char *name, const char *contType) |
Add a Variable Type. More... | |
trace_return_t | OTFAddEntityValue (const char *alias, const char *entType, const char *name, const otf_color_t color) |
Add an Entity Value. More... | |
trace_return_t | OTFStartContainer (varPrec time, const char *alias, const char *type, const char *container, const char *name, const char *file) |
Start a Container. More... | |
trace_return_t | OTFDestroyContainer (varPrec time, const char *name, const char *type) |
Destroy a Container. More... | |
trace_return_t | OTFSetState (varPrec time, const char *type, const char *cont, const char *val) |
Set the State of a Container. More... | |
trace_return_t | OTFPushState (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. More... | |
trace_return_t | OTFPopState (varPrec time, const char *type, const char *cont) |
Revert the State of a Container to its previous value. More... | |
trace_return_t | OTFAddEvent (varPrec time, const char *type, const char *cont, const char *val) |
Add an Event. More... | |
trace_return_t | OTFStartLink (varPrec time, const char *type, const char *src, const char *dest, const char *val, const char *key) |
Start a Link. More... | |
trace_return_t | OTFEndLink (varPrec time, const char *type, const char *src, const char *dest, const char *val, const char *key) |
End a Link. More... | |
trace_return_t | OTFSetVar (varPrec time, const char *type, const char *cont, varPrec val) |
Set a Variable value. More... | |
trace_return_t | OTFAddVar (varPrec time, const char *type, const char *cont, varPrec val) |
Add a value to a Variable. More... | |
trace_return_t | OTFSubVar (varPrec time, const char *type, const char *cont, varPrec val) |
Substract a value from a Variable. More... | |
trace_return_t | OTFAddComment (const char *comment) |
Add some Comment in Trace file. More... | |
trace_return_t | OTFEndTrace () |
Finalize an OTF trace. More... | |
const char * OTF_get_color | ( | gtg_color_t | color | ) |
Converts a GTG color into a OTF color.
color | GTG color to convert |
trace_return_t OTFAddComment | ( | const char * | comment | ) |
Add some Comment in Trace file.
comment | Comment to be added |
trace_return_t OTFAddContType | ( | const char * | alias, |
const char * | contType, | ||
const char * | name | ||
) |
Add a Container Type.
alias | Alias on the container |
contType | Type of container |
name | Name of the container type |
trace_return_t OTFAddEntityValue | ( | const char * | alias, |
const char * | entType, | ||
const char * | name, | ||
const otf_color_t | color | ||
) |
Add an Entity Value.
alias | Alias on the entity value |
entType | Type of the entity |
name | Name of the variable type |
color | Color of the entity |
trace_return_t OTFAddEvent | ( | varPrec | time, |
const char * | type, | ||
const char * | cont, | ||
const char * | val | ||
) |
Add an Event.
time | Time at which the event happens |
type | Type of the event |
cont | Container in this event |
val | Entity value of the event of the container |
trace_return_t OTFAddEventType | ( | const char * | alias, |
const char * | contType, | ||
const char * | name | ||
) |
Add an Event Type.
alias | Alias on the event type |
contType | Type of container |
name | Name of the event type |
trace_return_t OTFAddLinkType | ( | const char * | alias, |
const char * | name, | ||
const char * | contType, | ||
const char * | srcContType, | ||
const char * | destContType | ||
) |
Add a Link Type.
alias | Alias on the link type |
name | Name of the link type |
contType | Type of container |
srcContType | Type of the source container |
destContType | Type of the destination container |
trace_return_t OTFAddStateType | ( | const char * | alias, |
const char * | contType, | ||
const char * | name | ||
) |
Add a State Type.
alias | Alias on the state type |
contType | Type of container |
name | Name of the state type |
trace_return_t OTFAddVar | ( | varPrec | time, |
const char * | type, | ||
const char * | cont, | ||
varPrec | val | ||
) |
trace_return_t OTFAddVarType | ( | const char * | alias, |
const char * | contType, | ||
const char * | name | ||
) |
Add a Variable Type.
alias | Alias on the variable type |
contType | Type of container |
name | Name of the variable type |
trace_return_t OTFDestroyContainer | ( | varPrec | time, |
const char * | name, | ||
const char * | type | ||
) |
Destroy a Container.
time | Time at which the container is destroyed |
name | Name of the container |
type | Type of the container |
trace_return_t OTFEndLink | ( | varPrec | time, |
const char * | type, | ||
const char * | cont, | ||
const char * | dest, | ||
const char * | val, | ||
const char * | key | ||
) |
OTFEndTrace | ( | ) |
Finalize an OTF trace.
trace_return_t OTFInitTrace | ( | const char * | filename, |
gtg_flag_t | flags | ||
) |
Initialize an OTF trace.
filename | Root name of the file to create |
flags | One of GTG_FLAG_NONE, GTG_FLAG_USE_MPI, GTG_FLAG_NOTBUF. |
trace_return_t OTFPopState | ( | varPrec | time, |
const char * | type, | ||
const char * | cont | ||
) |
trace_return_t OTFPushState | ( | varPrec | time, |
const char * | type, | ||
const char * | cont, | ||
const char * | val | ||
) |
trace_return_t OTFSetCompress | ( | int | val | ) |
Enable trace compression.
val | 0 means no compression, otherwize the output files will be compressed. |
trace_return_t OTFSetState | ( | varPrec | time, |
const char * | type, | ||
const char * | cont, | ||
const char * | val | ||
) |
trace_return_t OTFSetVar | ( | varPrec | time, |
const char * | type, | ||
const char * | cont, | ||
varPrec | val | ||
) |
trace_return_t OTFStartContainer | ( | varPrec | time, |
const char * | alias, | ||
const char * | type, | ||
const char * | container, | ||
const char * | name, | ||
const char * | file | ||
) |
trace_return_t OTFStartLink | ( | varPrec | time, |
const char * | type, | ||
const char * | cont, | ||
const char * | src, | ||
const char * | val, | ||
const char * | key | ||
) |
trace_return_t OTFSubVar | ( | varPrec | time, |
const char * | type, | ||
const char * | cont, | ||
varPrec | val | ||
) |