summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2004-09-06 13:29:49 +0200
committerunknown <joreland@mysql.com>2004-09-06 13:29:49 +0200
commitd1f54f28d475dffc3187a17c329e0a8b04284c4e (patch)
treecd8e720def513d7a26961e6e23752add1c1342a2
parent3d390679e41f69a1b8d1c8b0599fac93ae16ac07 (diff)
downloadmariadb-git-d1f54f28d475dffc3187a17c329e0a8b04284c4e.tar.gz
testReadPerf
Divide by loops aswell ndb/test/ndbapi/testReadPerf.cpp: Divide by loops aswell
-rw-r--r--ndb/test/ndbapi/testReadPerf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndb/test/ndbapi/testReadPerf.cpp b/ndb/test/ndbapi/testReadPerf.cpp
index ea39e92558a..5245c116d41 100644
--- a/ndb/test/ndbapi/testReadPerf.cpp
+++ b/ndb/test/ndbapi/testReadPerf.cpp
@@ -390,6 +390,6 @@ void
print_result(){
for(int i = 0; i<P_OP_TYPES; i++){
g_err.println("%s avg: %u us/row", g_ops[i],
- (1000*g_times[i])/g_paramters[P_RANGE].value);
+ (1000*g_times[i])/(g_paramters[P_RANGE].value*g_paramters[P_LOOPS].value));
}
}