summaryrefslogtreecommitdiff
path: root/bitfield.c
diff options
context:
space:
mode:
Diffstat (limited to 'bitfield.c')
-rw-r--r--bitfield.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitfield.c b/bitfield.c
index 3a3f679..9a74b97 100644
--- a/bitfield.c
+++ b/bitfield.c
@@ -74,7 +74,7 @@ DoBitops(void)
** minimum, then de-allocate the array, reallocate a
** larger version, and try again.
*/
- if(DoBitfieldIteration(bitarraybase, bitoparraybase, locbitopstruct->bitoparraysize, &nbitops) > global_min_ticks) {
+ if(DoBitfieldIteration(bitarraybase, bitoparraybase, locbitopstruct->bitoparraysize, &nbitops) > MINIMUM_TICKS) {
break;
}
@@ -106,7 +106,7 @@ DoBitops(void)
do {
total_time += DoBitfieldIteration(bitarraybase, bitoparraybase, locbitopstruct->bitoparraysize,&nbitops);
iterations += nbitops;
- } while (total_time < locbitopstruct->request_secs * CLOCKS_PER_SEC);
+ } while (total_time < MINIMUM_SECONDS * CLOCKS_PER_SEC);
/*
** Clean up, calculate results, and go home.