TP-openmp/BE_OpenMP_2022/ring/aux.h

19 lines
332 B
C
Raw Permalink Normal View History

2023-06-22 18:19:48 +00:00
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <sys/time.h>
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))
long usecs ();
typedef struct tokenstruct{
int data;
} Token;
void check(Token *token, int L, int T);
void init(Token *token, int L, int T);
void process(Token *token);