Class RuntimeCoalescingProfile
- Namespace
- DotCompute.Core.Models
- Assembly
- DotCompute.Core.dll
Represents runtime profiling results for memory coalescing analysis.
public class RuntimeCoalescingProfile
- Inheritance
-
RuntimeCoalescingProfile
- Inherited Members
Properties
AverageExecutionTime
Gets or sets the average execution time across all profiling runs.
public TimeSpan AverageExecutionTime { get; set; }
Property Value
AverageExecutionTimeMs
Gets the average execution time in milliseconds.
public double AverageExecutionTimeMs { get; }
Property Value
CalculatedBandwidth
Gets the calculated memory bandwidth based on actual transfers.
public double CalculatedBandwidth { get; }
Property Value
CalculatedCoalescingEfficiency
Gets the calculated coalescing efficiency based on transaction analysis.
public double CalculatedCoalescingEfficiency { get; }
Property Value
EstimatedBandwidth
Gets or sets the estimated memory bandwidth in bytes per second.
public double EstimatedBandwidth { get; set; }
Property Value
EstimatedCoalescingEfficiency
Gets or sets the estimated coalescing efficiency (0.0 to 1.0).
public double EstimatedCoalescingEfficiency { get; set; }
Property Value
KernelName
Gets or initializes the name of the kernel being profiled.
public required string KernelName { get; init; }
Property Value
MaxExecutionTime
Gets or sets the maximum execution time observed.
public TimeSpan MaxExecutionTime { get; set; }
Property Value
MaxExecutionTimeMs
Gets the maximum execution time in milliseconds.
public double MaxExecutionTimeMs { get; }
Property Value
MinExecutionTime
Gets or sets the minimum execution time observed.
public TimeSpan MinExecutionTime { get; set; }
Property Value
MinExecutionTimeMs
Gets the minimum execution time in milliseconds.
public double MinExecutionTimeMs { get; }
Property Value
ProfileStartTime
Gets or initializes the timestamp when profiling started (DateTimeOffset).
public DateTimeOffset ProfileStartTime { get; init; }
Property Value
ProfileStartTimeDateTime
Gets the profiling start time as DateTime for compatibility.
public DateTime ProfileStartTimeDateTime { get; }
Property Value
Methods
GetCoalescingStatistics()
Gets coalescing-specific profiling statistics.
public CoalescingStatistics GetCoalescingStatistics()
Returns
GetStatistics()
Gets comprehensive profiling statistics.
public ProfilingStatistics GetStatistics()
Returns
Initialize()
Initializes the profiling session with production-quality defaults.
public void Initialize()
RecordExecution(double, double, int, int)
Records a kernel execution time and updates statistics.
public void RecordExecution(double executionTimeMs, double memoryTransferred = 0, int coalescedTransactions = 0, int totalTransactions = 0)