benchmarks/rpc_timing: fix stddev formula

This commit is contained in:
Sebastien Bourdeauducq 2015-04-28 00:43:14 +08:00
parent 86c012924e
commit cae473e848
1 changed files with 1 additions and 1 deletions

View File

@ -28,5 +28,5 @@ class RPCTiming(Experiment, AutoDB):
self.bench()
mean = sum(self.ts)/self.repeats
self.rpc_time_stddev = sqrt(
sum([(t - mean)**2 for t in self.ts]))/self.repeats*s
sum([(t - mean)**2 for t in self.ts])/self.repeats)*s
self.rpc_time_mean = mean*s