Class StepColorTreeScan
- Namespace
- Hi.MachiningProcs
- Assembly
- HiNc.dll
Internal Use Only. What a preview scan of a tree over the strip counted (ScanStepColorTree(CompiledStepColorTree, int, int, CancellationToken)).
public sealed record StepColorTreeScan : IEquatable<StepColorTreeScan>
- Inheritance
-
StepColorTreeScan
- Implements
- Inherited Members
- Extension Methods
Constructors
StepColorTreeScan(int, int, int, IReadOnlyList<StepColorTreeScanLeaf>, int, double, int, int, double, int, bool)
Internal Use Only. What a preview scan of a tree over the strip counted (ScanStepColorTree(CompiledStepColorTree, int, int, CancellationToken)).
public StepColorTreeScan(int Begin, int End, int ScannedSteps, IReadOnlyList<StepColorTreeScanLeaf> Leaves, int NoValueSteps, double NoValueSeconds, int FaultedSteps, int SkippedPositions, double ElapsedSeconds, int StoreReads, bool Completed)
Parameters
BeginintThe first strip index walked.
EndintOne past the last strip index of the range: the strip's count when the range reached its end; never below
Begin– a begin at or beyond the strip gives End equal to Begin and nothing walked.ScannedStepsintThe strip positions walked that hold a step.
LeavesIReadOnlyList<StepColorTreeScanLeaf>Every leaf of the tree, in tree order, with its counts.
NoValueStepsintThe steps that fell into no leaf, the faulted ones included.
NoValueSecondsdoubleTheir durations summed.
FaultedStepsintThe steps whose read threw; in no leaf.
SkippedPositionsintThe strip positions of the segments the walk left out because their store read faulted (the read reports it); not in
ScannedSteps.ElapsedSecondsdoubleThe wall-clock time of the walk.
StoreReadsintThe step-cache reads the walk made on its thread: the preview's own count, not the inspecting-slot scan's.
CompletedboolFalse when the cancellation, a move of the inspecting-slot generation or a strip cleared under the walk ended it: the counts are partial.
Properties
Begin
The first strip index walked.
public int Begin { get; init; }
Property Value
Completed
False when the cancellation, a move of the inspecting-slot generation or a strip cleared under the walk ended it: the counts are partial.
public bool Completed { get; init; }
Property Value
ElapsedSeconds
The wall-clock time of the walk.
public double ElapsedSeconds { get; init; }
Property Value
End
One past the last strip index of the range: the strip's count when the range reached its end; never below Begin – a begin at or beyond the strip gives End equal to Begin and nothing walked.
public int End { get; init; }
Property Value
FaultedSteps
The steps whose read threw; in no leaf.
public int FaultedSteps { get; init; }
Property Value
Leaves
Every leaf of the tree, in tree order, with its counts.
public IReadOnlyList<StepColorTreeScanLeaf> Leaves { get; init; }
Property Value
NoValueSeconds
Their durations summed.
public double NoValueSeconds { get; init; }
Property Value
NoValueSteps
The steps that fell into no leaf, the faulted ones included.
public int NoValueSteps { get; init; }
Property Value
ScannedSteps
The strip positions walked that hold a step.
public int ScannedSteps { get; init; }
Property Value
SkippedPositions
The strip positions of the segments the walk left out because their store read faulted (the read reports it); not in ScannedSteps.
public int SkippedPositions { get; init; }
Property Value
StoreReads
The step-cache reads the walk made on its thread: the preview's own count, not the inspecting-slot scan's.
public int StoreReads { get; init; }