Class CompilationStats
- Namespace
- AiDotNet.JitCompiler
- Assembly
- AiDotNet.dll
Statistics about a compilation operation.
public class CompilationStats
- Inheritance
-
CompilationStats
- Inherited Members
Remarks
For Beginners: Information about what happened during compilation.
Tells you:
- How many operations were optimized away
- What optimizations were applied
- How long compilation took
- Whether the result came from cache
Properties
CacheHit
Gets or sets a value indicating whether the compiled function came from cache.
public bool CacheHit { get; set; }
Property Value
CompilationTime
Gets or sets the time taken to compile the graph.
public TimeSpan CompilationTime { get; set; }
Property Value
OperationsEliminated
Gets the reduction in operation count from optimization.
public int OperationsEliminated { get; }
Property Value
OptimizationPercentage
Gets the percentage reduction in operation count.
public double OptimizationPercentage { get; }
Property Value
OptimizationsApplied
Gets or sets the list of optimizations that were applied.
public List<string> OptimizationsApplied { get; set; }
Property Value
OptimizedOperationCount
Gets or sets the number of operations after optimization.
public int OptimizedOperationCount { get; set; }
Property Value
OriginalOperationCount
Gets or sets the number of operations in the original graph.
public int OriginalOperationCount { get; set; }
Property Value
Methods
ToString()
Gets a string representation of the compilation statistics.
public override string ToString()