diff options
author | Matt Turner <mattst88@gmail.com> | 2008-11-14 21:56:05 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-11-14 21:56:05 +0000 |
commit | 0c8398d4b960967e65418885708a096eb489a8e8 (patch) | |
tree | 55ce02d13a3341ebea7c3115ed2f95e94a575ab7 | |
parent | 2b352223b3939e48342fc545ef4a55a97d58cf79 (diff) |
Multiply, not divide
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@40 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
-rw-r--r-- | bitfield.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |