TP-openmp/BE_OpenMP_2019/lu_tasks/trace.h
2023-06-22 20:19:48 +02:00

23 lines
306 B
C

#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 *);