aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-10-07 21:10:09 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-10-07 21:10:09 -0700
commit4886fbd7dc959f127f81ea2bb2ea60095b696b3d (patch)
tree571af055e10ef5993917049b6f107a823756e000
parenta298565cfe0196b06c65c2061506f810064c7419 (diff)
correct sqlite benchmark numbers
-rw-r--r--tests/sqlite/benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sqlite/benchmark.c b/tests/sqlite/benchmark.c
index e354ea1a..c1385525 100644
--- a/tests/sqlite/benchmark.c
+++ b/tests/sqlite/benchmark.c
@@ -68,7 +68,7 @@ int main(){
#define TIME(msg) \
{ \
- printf(msg " : took %d ms\n", (clock()-t)/1000); \
+ printf(msg " : took %d ms\n", (1000*(clock()-t))/CLOCKS_PER_SEC); \
t = clock(); \
}