Skip to main content

Class TimingHandle

Class used for tracking a time interval taken.

Assembly: Dalamud.dll
Declaration
public sealed class TimingHandle : TimingEvent, IDisposable, IComparable<TimingHandle>

Inheritance: System.Object -> Dalamud.Utility.Timing.TimingEvent

Implements:
System.IDisposable, System.IComparable<Dalamud.Utility.Timing.TimingHandle>

Properties

IdChain

Gets the id chain.

Declaration
public long[] IdChain { get; init; }

EndTime

Gets the time this timing ended.

Declaration
public double EndTime { get; }

Duration

Gets the duration of this timing.

Declaration
public double Duration { get; }

Stack

Gets the attached timing handle stack.

Declaration
public List<TimingHandle> Stack { get; }

Parent

Gets the parent timing.

Declaration
public TimingHandle? Parent { get; }

IsMainThread

Gets a value indicating whether this timing was started on the main thread.

Declaration
public bool IsMainThread { get; }

ChildCount

Gets the number of child timings.

Declaration
public uint ChildCount { get; }

Methods

Dispose()

Declaration
public void Dispose()

CompareTo(TimingHandle?)

Declaration
public int CompareTo(TimingHandle? other)
Returns

System.Int32

Parameters
TypeName
Dalamud.Utility.Timing.TimingHandleother

Implements

  • System.IDisposable
  • System.IComparable<Dalamud.Utility.Timing.TimingHandle>