Table of Contents

Class MetalGraphExecutionResult

Namespace
DotCompute.Backends.Metal.Execution.Graph.Types
Assembly
DotCompute.Backends.Metal.dll

Represents execution results for a Metal compute graph.

public class MetalGraphExecutionResult
Inheritance
MetalGraphExecutionResult
Inherited Members

Properties

CommandBuffersUsed

Gets or sets the number of command buffers used.

public int CommandBuffersUsed { get; set; }

Property Value

int

EndTime

Gets or sets the execution end time.

public DateTimeOffset EndTime { get; set; }

Property Value

DateTimeOffset

ErrorMessage

Gets or sets any error message if execution failed.

public string? ErrorMessage { get; set; }

Property Value

string

Exception

Gets or sets the exception that caused the failure, if any.

public Exception? Exception { get; set; }

Property Value

Exception

ExecutionDuration

Gets the total execution duration.

public TimeSpan ExecutionDuration { get; }

Property Value

TimeSpan

ExecutionId

Gets or sets the unique execution identifier.

public string ExecutionId { get; set; }

Property Value

string

GpuExecutionTimeMs

Gets or sets the GPU execution time in milliseconds.

public double GpuExecutionTimeMs { get; set; }

Property Value

double

GraphName

Gets or sets the name of the executed graph.

public string GraphName { get; set; }

Property Value

string

NodesExecuted

Gets or sets the number of nodes executed.

public int NodesExecuted { get; set; }

Property Value

int

PerformanceMetrics

Gets or sets performance metrics for the execution.

public Dictionary<string, object> PerformanceMetrics { get; }

Property Value

Dictionary<string, object>

StartTime

Gets or sets the execution start time.

public DateTimeOffset StartTime { get; set; }

Property Value

DateTimeOffset

Success

Gets or sets a value indicating whether the execution was successful.

public bool Success { get; set; }

Property Value

bool

TotalMemoryTransferred

Gets or sets the total memory transferred in bytes.

public long TotalMemoryTransferred { get; set; }

Property Value

long