diff options
author | Matt Turner <mattst88@gmail.com> | 2008-11-14 02:56:30 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-11-14 02:56:30 +0000 |
commit | becd1a927a0fa089a62b0cbc352cdbf224da7286 (patch) | |
tree | 64f56aec30db3bb561a5b298e78296e50cfebc5d /stringsort.c | |
parent | 7ddd55f5d9bdf7362bd5ac07ebc66cca85915242 (diff) |
-- Remove stop watch functions from assignment.c
-- Small fixes to numsort.c, stringsort.c, and bitfield.c
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@24 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
Diffstat (limited to 'stringsort.c')
-rw-r--r-- | stringsort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stringsort.c b/stringsort.c index b302f69..cbea030 100644 --- a/stringsort.c +++ b/stringsort.c @@ -106,7 +106,7 @@ void DoStringSort(void) do { total_time += DoStringSortIteration(arraybase, strsortstruct->numarrays, strsortstruct->arraysize); iterations += strsortstruct->numarrays; - } while (total_time / CLOCKS_PER_SEC < strsortstruct->request_secs); + } while (total_time < strsortstruct->request_secs * CLOCKS_PER_SEC); free(arraybase); |