/*
 * User-visible profiling control functions for UPC.
 *
 * <YOUR COPYRIGHT HERE>
 */

#ifndef _PUPC_H
#define _PUPC_H

/* For turning measurement code on and off */
int pupc_control(int on);

/* For creating user events */
unsigned int pupc_create_event(const char *name, const char *desc);

/* For recording user events */
void pupc_event_start(unsigned int evttag, ...);
void pupc_event_end(unsigned int evttag, ...);
void pupc_event_atomic(unsigned int evttag, ...);

#endif

