RealTime Structure |
Namespace: Demo3D.EventQueue
public readonly struct RealTime
The RealTime type exposes the following members.
| Name | Description | |
|---|---|---|
| Now |
The current wall clock time.
| |
| ToFixed |
Convert ticks to real time (seconds).
| |
| ToFixedUnscaled |
Convert to a Fixed counter. The value returned is not scaled.
| |
| ToMicroseconds |
Convert ticks to real time (microseconds).
| |
| ToMilliseconds |
Convert ticks to real time (milliseconds).
| |
| ToSeconds |
Convert ticks to real time (seconds).
| |
| ToTicks |
Convert to performance counter ticks.
|
| Name | Description | |
|---|---|---|
| Equals |
Determines whether two times are equal.
(Overrides ValueTypeEquals(Object).) | |
| FromFixed |
Convert from real time (seconds) to ticks.
| |
| FromFixedUnscaled |
Convert from a value returned by ToFixedUnscaled.
| |
| FromMicroseconds(Double) |
Convert from real time (milliseconds) to ticks.
| |
| FromMicroseconds(Int32) |
Convert from real time (milliseconds) to ticks.
| |
| FromMicroseconds(Int64) |
Convert from real time (milliseconds) to ticks.
| |
| FromMilliseconds(Double) |
Convert from real time (milliseconds) to ticks.
| |
| FromMilliseconds(Int32) |
Convert from real time (milliseconds) to ticks.
| |
| FromMilliseconds(Int64) |
Convert from real time (milliseconds) to ticks.
| |
| FromSeconds |
Convert from real time (seconds) to ticks.
| |
| FromTicks |
Convert from performance counter ticks.
| |
| GetHashCode |
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
| ToString |
Returns a printable string representation of this instance.
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| FiftyMs |
Fifty milliseconds.
| |
| FiveMs |
Five milliseconds.
| |
| MaxValue |
Max interval or end of time.
| |
| MinValue |
Maximum negative interval, or beginning of time.
| |
| OneMs |
One millisecond.
| |
| OneSec |
One second.
| |
| TenMs |
Ten milliseconds.
| |
| TenSec |
Ten seconds.
| |
| TwentyFiveMs |
Twenty five milliseconds.
| |
| TwoMs |
Two milliseconds.
| |
| Zero |
Zero ticks.
|