Class TimingHandle
Class used for tracking a time interval taken.
Assembly: Dalamud.dll
View Source
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.
View Source
public long[] IdChain { get; init; }
EndTime
Gets the time this timing ended.
View Source
public double EndTime { get; }
Duration
Gets the duration of this timing.
View Source
public double Duration { get; }
Stack
Gets the attached timing handle stack.
View Source
public List<TimingHandle> Stack { get; }
Parent
Gets the parent timing.
View Source
public TimingHandle? Parent { get; }
IsMainThread
Gets a value indicating whether or not this timing was started on the main thread.
View Source
public bool IsMainThread { get; }
ChildCount
Gets the number of child timings.
View Source
public uint ChildCount { get; }
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
View Source
public void Dispose()
CompareTo(TimingHandle?)
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
View Source
public int CompareTo(TimingHandle? other)
Returns
System.Int32
: A value that indicates the relative order of the objects being compared. The return value has these meanings:
<table><thead><tr><th class="term"> Value</th><th class="description"> Meaning</th></tr></thead><tbody><tr><td class="term"> Less than zero</td><td class="description"> This instance precedes <code class="paramref">other</code> in the sort order.</td></tr><tr><td class="term"> Zero</td><td class="description"> This instance occurs in the same position in the sort order as <code class="paramref">other</code>.</td></tr><tr><td class="term"> Greater than zero</td><td class="description"> This instance follows <code class="paramref">other</code> in the sort order.</td></tr></tbody></table>
Parameters
Type | Name | Description |
---|---|---|
Dalamud.Utility.Timing.TimingHandle | other | An object to compare with this instance. |
Implements
System.IDisposable
System.IComparable<Dalamud.Utility.Timing.TimingHandle>