Name
            TAU_PROFILER_REGISTER_EVENT — Registers a user event
          
         
            Synopsis
            C/C++:
                  
                     TAU_PROFILER_REGISTER_EVENT( | 
                     variable, 
                      | 
                       | 
                  
                  
                     |   | 
                     event, 
                      | 
                       | 
                  
                  
                     |   | 
                     event_name);
                      | 
                       | 
                  
               
               
                  
                     | TauUserEvent   | 
                     variable;
                      | 
                  
                  
                     | void *  | 
                     event;
                      | 
                  
                  
                     | char *  | 
                     event_name;
                      | 
                  
               
             
            Fortran:
                  
                     TAU_PROFILER_REGISTER_EVENT( | 
                     integer , 
                      | 
                       | 
                  
                  
                     |   | 
                     event_name);
                      | 
                       | 
                  
               
               
                  
                     | int   | 
                     integer (2);
                      | 
                  
                  
                     | character   | 
                     event_name(size);
                      | 
                  
               
             
          
         Description
            TAU can profile user-defined events using
                   TAU_PROFILER_REGISTER_EVENT. The meaning of the event is
                   determined by the user. The first argument to
                   TAU_PROFILER_REGISTER_EVENT is the pointer to an integer
                   array. This array is declared with a save attribute as shown below.
            
          
         Example
            C/C++ :
int user_square(int count) {
  void *ue1;
	TAU_PROFILER_REGISTER_EVENT(ue1, "UserSquare Event");
  TAU_EVENT(ue1, count * count);
  return 0;
}
    Fortran :
integer eventid(2)
save eventid
call TAU_PROFILER_REGISTER_EVENT(eventid, 'Error in Iteration')
call TAU_EVENT(eventid, count)