Mask measure blips end to end and show a running median cable length
This commit is contained in:
@@ -56,8 +56,8 @@ func resetAll(dirs []*direction, mods []*phyModule) time.Time {
|
||||
// Nothing to hold or revert here: failures during a measure were never
|
||||
// counted, so the view is always the counters as they stand.
|
||||
func phyView(diag *cableDiag, modules []*phyModule) (phyDisplay, bool) {
|
||||
info, rng, measuring := diag.snapshot()
|
||||
return phyDisplayFrom(info, rng, measuring, modules[0].view(), modules[1].view()), measuring
|
||||
info, lens, measuring := diag.snapshot()
|
||||
return phyDisplayFrom(info, lens, measuring, modules[0].view(), modules[1].view()), measuring
|
||||
}
|
||||
|
||||
var intervalCols = []colSpec{
|
||||
@@ -346,7 +346,7 @@ func run(aName, bName string) (err error) {
|
||||
// hide or revert afterwards.
|
||||
kickMeasure := func() {
|
||||
if diag.kick(&done) {
|
||||
diag.resetRange()
|
||||
diag.resetLengths()
|
||||
start = resetAll(dirs, modules)
|
||||
hist.reset()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user