Table of Contents

Class KernelExecutionStatus

Namespace
DotCompute.Runtime.Services
Assembly
DotCompute.Runtime.dll

Represents the current status of a kernel execution.

public sealed class KernelExecutionStatus
Inheritance
KernelExecutionStatus
Inherited Members

Constructors

KernelExecutionStatus(Guid, string, KernelExecutionState, DateTime, TimeSpan, Exception?)

Represents the current status of a kernel execution.

public KernelExecutionStatus(Guid id, string kernelName, KernelExecutionState state, DateTime startTime, TimeSpan elapsedTime, Exception? lastError)

Parameters

id Guid
kernelName string
state KernelExecutionState
startTime DateTime
elapsedTime TimeSpan
lastError Exception

Properties

ElapsedTime

Gets or sets the elapsed time.

public TimeSpan ElapsedTime { get; }

Property Value

TimeSpan

The elapsed time.

Id

Gets or sets the id.

public Guid Id { get; }

Property Value

Guid

The id.

KernelName

Gets or sets the kernel name.

public string KernelName { get; }

Property Value

string

The kernel name.

LastError

Gets or sets the last error.

public Exception? LastError { get; }

Property Value

Exception

The last error.

StartTime

Gets or sets the start time.

public DateTime StartTime { get; }

Property Value

DateTime

The start time.

State

Gets or sets the state.

public KernelExecutionState State { get; }

Property Value

KernelExecutionState

The state.