summaryrefslogtreecommitdiff
path: root/stress.h
blob: b1cfb8816d05719669992c4bb0d3639a3fbd9b34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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