mirror of https://github.com/m-labs/artiq.git
benchmarks/rpc_timing: fix stddev formula
This commit is contained in:
parent
86c012924e
commit
cae473e848
|
@ -28,5 +28,5 @@ class RPCTiming(Experiment, AutoDB):
|
||||||
self.bench()
|
self.bench()
|
||||||
mean = sum(self.ts)/self.repeats
|
mean = sum(self.ts)/self.repeats
|
||||||
self.rpc_time_stddev = sqrt(
|
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
|
self.rpc_time_mean = mean*s
|
||||||
|
|
Loading…
Reference in New Issue