aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(); \
}