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
Start
Gets or sets the start time.
public DateTime Start { get; init; }
Property Value
Methods
LastDays(int)
Creates a time range for the last N days.
public static TimeRange LastDays(int days)
Parameters
daysint
Returns
LastHours(int)
Creates a time range for the last N hours.
public static TimeRange LastHours(int hours)
Parameters
hoursint