TP-openmp/BE_OpenMP_2019/lu_tasks/trace.h

23 lines
306 B
C
Raw Permalink Normal View History

2023-06-22 18:19:48 +00:00
#include <string.h>
#include <stdio.h>
long t_zero;
#define MAXEVENTS 10000
#define MAXTHREADS 48
long usecs ();
typedef struct event_struct{
int type;
long t_start, t_stop;
} Event;
void trace_init();
void trace_event_start(int type);
void trace_event_stop(int type);
void trace_dump(char *);