summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-11-14 21:56:05 +0000
committerMatt Turner <mattst88@gmail.com>2008-11-14 21:56:05 +0000
commit0c8398d4b960967e65418885708a096eb489a8e8 (patch)
tree55ce02d13a3341ebea7c3115ed2f95e94a575ab7
parent2b352223b3939e48342fc545ef4a55a97d58cf79 (diff)
Multiply, not divide
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@40 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
-rw-r--r--bitfield.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitfield.c b/bitfield.c
index 076ac0f..3a3f679 100644
--- a/bitfield.c
+++ b/bitfield.c
@@ -106,7 +106,7 @@ DoBitops(void)
do {
total_time += DoBitfieldIteration(bitarraybase, bitoparraybase, locbitopstruct->bitoparraysize,&nbitops);
iterations += nbitops;
- } while (total_time / CLOCKS_PER_SEC < locbitopstruct->request_secs);
+ } while (total_time < locbitopstruct->request_secs * CLOCKS_PER_SEC);
/*
** Clean up, calculate results, and go home.