summaryrefslogtreecommitdiff
path: root/nbench0.h
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-12 23:02:01 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-12 23:02:01 +0000
commit7a57eeccd8ded740d88aba3ea9dcb09050983dd0 (patch)
tree945953d547076b67567bd99b945ec33c6ee1ea59 /nbench0.h
parentb50243af303373a0af9185dd12d86b21990dde14 (diff)
Remove stupid MAXPOSLONG define (otherwise standardized as LONG_MAX)
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@13 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'nbench0.h')
-rw-r--r--nbench0.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nbench0.h b/nbench0.h
index d5d76b1..947feba 100644
--- a/nbench0.h
+++ b/nbench0.h
@@ -206,8 +206,8 @@ char buffer[BUF_SIZ];
/*
** Global parameters.
*/
-ulong global_min_ticks; /* Minimum ticks */
-ulong global_min_seconds; /* Minimum seconds tests run */
+unsigned long global_min_ticks; /* Minimum ticks */
+unsigned long global_min_seconds; /* Minimum seconds tests run */
int global_allstats; /* Statistics dump flag */
char global_ofile_name[BUF_SIZ];/* Output file name */
FILE *global_ofile; /* Output file */
@@ -219,7 +219,7 @@ int global_align; /* Memory alignment */
** Following global is the memory array. This is used to store
** original and aligned (modified) memory addresses.
*/
-ulong mem_array[2][MEM_ARRAY_SIZE];
+unsigned long mem_array[2][MEM_ARRAY_SIZE];
int mem_array_ents; /* # of active entries */
/*
@@ -302,7 +302,7 @@ static int getflag(char *cptr);
static void strtoupper(char *s);
static void set_request_secs(void);
static int bench_with_confidence(int fid,
- double *mean, double *stdev, ulong *numtries);
+ double *mean, double *stdev, unsigned long *numtries);
/*
static int seek_confidence(double scores[5],
double *newscore, double *c_half_interval,