mirror of
https://github.com/logos-storage/das-research.git
synced 2026-01-04 06:03:10 +00:00
fixup: stepDuration vs. steps per second
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
This commit is contained in:
parent
64cafd533f
commit
73bd240e64
@ -23,7 +23,7 @@ class Result:
|
|||||||
missingSamples = missingVector[-1]
|
missingSamples = missingVector[-1]
|
||||||
if missingSamples == 0:
|
if missingSamples == 0:
|
||||||
self.blockAvailable = 1
|
self.blockAvailable = 1
|
||||||
self.tta = len(missingVector) * (1000/config.stepDuration)
|
self.tta = len(missingVector) * (config.stepDuration)
|
||||||
else:
|
else:
|
||||||
self.blockAvailable = 0
|
self.blockAvailable = 0
|
||||||
self.tta = -1
|
self.tta = -1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user