Commit d1f54f28 authored by unknown's avatar unknown

testReadPerf

Divide by loops aswell


ndb/test/ndbapi/testReadPerf.cpp:
  Divide by loops aswell
parent 3d390679
...@@ -390,6 +390,6 @@ void ...@@ -390,6 +390,6 @@ void
print_result(){ print_result(){
for(int i = 0; i<P_OP_TYPES; i++){ for(int i = 0; i<P_OP_TYPES; i++){
g_err.println("%s avg: %u us/row", g_ops[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));
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment