summaryrefslogtreecommitdiff
path: root/assignment.c
diff options
context:
space:
mode:
Diffstat (limited to 'assignment.c')
-rw-r--r--assignment.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/assignment.c b/assignment.c
index 2f0956c..745bbb5 100644
--- a/assignment.c
+++ b/assignment.c
@@ -100,7 +100,7 @@ DoAssign(void)
** minimum, then allocate for more arrays and
** try again.
*/
- if (DoAssignIteration(arraybase, locassignstruct->numarrays) > global_min_ticks) {
+ if (DoAssignIteration(arraybase, locassignstruct->numarrays) > MINIMUM_TICKS) {
break;
}
@@ -117,7 +117,7 @@ DoAssign(void)
do {
total_time += DoAssignIteration(arraybase, locassignstruct->numarrays);
++iterations;
- } while (total_time < locassignstruct->request_secs * CLOCKS_PER_SEC);
+ } while (total_time < MINIMUM_SECONDS * CLOCKS_PER_SEC);
free(arraybase);