stress/stress.h

28 lines
461 B
C

#ifndef _STRESS_H
#define _STRESS_H
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <unistd.h>
#include <math.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/wait.h>
extern int errno;
#ifndef LDBL_MAX
#define LDBL_MAX __LDBL_MAX__
#endif
#ifndef LDBL_EPSILON
#define LDBL_EPSILON __LDBL_EPSILON__
#endif
#define THREADS 0x1
#define MEMSIZE 0x2
void testCPU(void);
void testMemory(unsigned long long);
void usage(void);
#endif