Table of Contents

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

Begin int

The first strip index walked.

End int

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.

ScannedSteps int

The strip positions walked that hold a step.

Leaves IReadOnlyList<StepColorTreeScanLeaf>

Every leaf of the tree, in tree order, with its counts.

NoValueSteps int

The steps that fell into no leaf, the faulted ones included.

NoValueSeconds double

Their durations summed.

FaultedSteps int

The steps whose read threw; in no leaf.

SkippedPositions int

The strip positions of the segments the walk left out because their store read faulted (the read reports it); not in ScannedSteps.

ElapsedSeconds double

The wall-clock time of the walk.

StoreReads int

The step-cache reads the walk made on its thread: the preview's own count, not the inspecting-slot scan's.

Completed bool

False 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

int

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

bool

ElapsedSeconds

The wall-clock time of the walk.

public double ElapsedSeconds { get; init; }

Property Value

double

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

int

FaultedSteps

The steps whose read threw; in no leaf.

public int FaultedSteps { get; init; }

Property Value

int

Leaves

Every leaf of the tree, in tree order, with its counts.

public IReadOnlyList<StepColorTreeScanLeaf> Leaves { get; init; }

Property Value

IReadOnlyList<StepColorTreeScanLeaf>

NoValueSeconds

Their durations summed.

public double NoValueSeconds { get; init; }

Property Value

double

NoValueSteps

The steps that fell into no leaf, the faulted ones included.

public int NoValueSteps { get; init; }

Property Value

int

ScannedSteps

The strip positions walked that hold a step.

public int ScannedSteps { get; init; }

Property Value

int

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

int

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; }

Property Value

int