Name

TAU_QUERY_GET_CURRENT_EVENT — set event to be the current TAU event.

Synopsis

C/C++:

TAU_QUERY_GET_CURRENT_EVENT(event);
void * event;

description

TAU_QUERY_GET_CURRENT_EVENT Set event to be the current TAU event in the context in which this call is made.

example

>C/C++:

char[100] str;
TAU_QUERY_DECLARE_EVENT(event);
TAU_QUERY_GET_CURRENT_EVENT(event);
TAU_QUERY_GET_EVENT_NAME(event, str);

printf("current event is: %d.\n", str);