diff options
Diffstat (limited to 'stress.h')
-rw-r--r-- | stress.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/stress.h b/stress.h new file mode 100644 index 0000000..b1cfb88 --- /dev/null +++ b/stress.h @@ -0,0 +1,27 @@ +#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 |