Commit 1e17dca8 authored by joreland@mysql.com's avatar joreland@mysql.com

testReadPerf

Divide by loops aswell
parent c20c8baf
...@@ -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