Table of Contents

Class TimeRange

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

Time range for filtering profiling data.

public class TimeRange
Inheritance
TimeRange
Inherited Members

Properties

End

Gets or sets the end time.

public DateTime End { get; init; }

Property Value

DateTime

Start

Gets or sets the start time.

public DateTime Start { get; init; }

Property Value

DateTime

Methods

LastDays(int)

Creates a time range for the last N days.

public static TimeRange LastDays(int days)

Parameters

days int

Returns

TimeRange

LastHours(int)

Creates a time range for the last N hours.

public static TimeRange LastHours(int hours)

Parameters

hours int

Returns

TimeRange