Table of Contents

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

TimeSpan

AverageExecutionTimeMs

Gets the average execution time in milliseconds.

public double AverageExecutionTimeMs { get; }

Property Value

double

CalculatedBandwidth

Gets the calculated memory bandwidth based on actual transfers.

public double CalculatedBandwidth { get; }

Property Value

double

CalculatedCoalescingEfficiency

Gets the calculated coalescing efficiency based on transaction analysis.

public double CalculatedCoalescingEfficiency { get; }

Property Value

double

EstimatedBandwidth

Gets or sets the estimated memory bandwidth in bytes per second.

public double EstimatedBandwidth { get; set; }

Property Value

double

EstimatedCoalescingEfficiency

Gets or sets the estimated coalescing efficiency (0.0 to 1.0).

public double EstimatedCoalescingEfficiency { get; set; }

Property Value

double

KernelName

Gets or initializes the name of the kernel being profiled.

public required string KernelName { get; init; }

Property Value

string

MaxExecutionTime

Gets or sets the maximum execution time observed.

public TimeSpan MaxExecutionTime { get; set; }

Property Value

TimeSpan

MaxExecutionTimeMs

Gets the maximum execution time in milliseconds.

public double MaxExecutionTimeMs { get; }

Property Value

double

MinExecutionTime

Gets or sets the minimum execution time observed.

public TimeSpan MinExecutionTime { get; set; }

Property Value

TimeSpan

MinExecutionTimeMs

Gets the minimum execution time in milliseconds.

public double MinExecutionTimeMs { get; }

Property Value

double

ProfileStartTime

Gets or initializes the timestamp when profiling started (DateTimeOffset).

public DateTimeOffset ProfileStartTime { get; init; }

Property Value

DateTimeOffset

ProfileStartTimeDateTime

Gets the profiling start time as DateTime for compatibility.

public DateTime ProfileStartTimeDateTime { get; }

Property Value

DateTime

Methods

GetCoalescingStatistics()

Gets coalescing-specific profiling statistics.

public CoalescingStatistics GetCoalescingStatistics()

Returns

CoalescingStatistics

GetStatistics()

Gets comprehensive profiling statistics.

public ProfilingStatistics GetStatistics()

Returns

ProfilingStatistics

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)

Parameters

executionTimeMs double
memoryTransferred double
coalescedTransactions int
totalTransactions int