Class OptimizationMetrics
- Namespace
- LogicalOptimizer
- Assembly
- LogicalOptimizer.Core.dll
public class OptimizationMetrics
- Inheritance
-
OptimizationMetrics
- Inherited Members
Properties
AllocatedBytes
Bytes allocated on the calling thread across the whole optimization run (measured via GetAllocatedBytesForCurrentThread()). A memory-cost signal for the call; 0 when metrics were not requested.
public long AllocatedBytes { get; set; }
Property Value
AppliedRules
public int AppliedRules { get; set; }
Property Value
CompressionRatio
public double CompressionRatio { get; }
Property Value
ElapsedTime
public TimeSpan ElapsedTime { get; set; }
Property Value
IsImproved
public bool IsImproved { get; }
Property Value
Iterations
public int Iterations { get; set; }
Property Value
OptimizationSteps
Convergence trace: one entry per rewrite fixpoint iteration recording the node count at that step, so callers can see how the expression converged (populated only when metrics are requested).
public List<string> OptimizationSteps { get; set; }
Property Value
OptimizedNodes
public int OptimizedNodes { get; set; }
Property Value
OriginalNodes
public int OriginalNodes { get; set; }
Property Value
RuleApplicationCount
public Dictionary<string, int> RuleApplicationCount { get; set; }
Property Value
Methods
AddStep(string)
public void AddStep(string step)
Parameters
stepstring
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.