From 0c8398d4b960967e65418885708a096eb489a8e8 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 14 Nov 2008 21:56:05 +0000 Subject: Multiply, not divide git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@40 0d43b9a7-5ab2-4d7b-af9d-f64450cef757 --- bitfield.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.3