4#define ROCS_EVENTS_OPENED (0x1)
5#define ROCS_EVENTS_RUNNING (0x2)
int rocs_ctx_stop(rocs_ctx_t ctx)
int rocs_err_get_last(const char **err_string)
int rocs_ctx_start(rocs_ctx_t ctx)
int rocs_evt_code_to_descr(unsigned int event_code, char *descr, int len)
int rocs_ctx_close(rocs_ctx_t ctx)
int rocs_evt_name_to_code(const char *name, unsigned int *event_code)
int rocs_ctx_open(unsigned int *event_ids, int num_events, rocs_ctx_t *ctx)
int rocs_ctx_write(rocs_ctx_t ctx, long long *counts)
int rocs_ctx_reset(rocs_ctx_t ctx)
int rocs_ctx_read(rocs_ctx_t ctx, long long **counts)
int rocs_evt_code_to_name(unsigned int event_code, char *name, int len)
int rocs_evt_enum(unsigned int *event_code, int modifier)