Table of Contents

Property ElapsedTime

Namespace
KZDev.PrimeTime
Assembly
KZDev.PrimeTime.dll

ElapsedTime

Returns the time elapsed since the last callback for this registration.

long ElapsedTime { get; }

Property Value

long

Remarks

Value is in milliseconds. If no callbacks have been made yet, this will return -1.

If the current State is ProcessingCallback, this will return 0 regardless of the number of callbacks that are currently being processed and not yet completed.

Elapsed time is calculated from differences between UTC instants. For local time-of-day registrations, the "now" reference is the local-offset representation of the same virtual UTC instant used by the clock; for UTC time-of-day registrations, it uses the virtual UTC instant directly.