SYNOPSIS
C/C++:
- TAU_REGISTER_EVENT(TauUserEvent variable, char *event_name);
Fortran:
- TAU_REGISTER_EVENT(int variable(2), character event_name(size));
DESCRIPTION
EXAMPLE
C/C++ :
int user_square(int count) { TAU_REGISTER_EVENT(ue1, "UserSquare Event"); TAU_EVENT(ue1, count * count); return 0; }
Fortran :
integer eventid(2) save eventid call TAU_REGISTER_EVENT(eventid, 'Error in Iteration') call TAU_EVENT(eventid, count)