Public Types | |
enum | Interval { Microsec = 1, Millisec = 1000, Second = 1_000_000, Minute = 60_000_000 } |
Static Public Member Functions | |
this () | |
ulong | getMillisecs () |
ulong | getBeginTime () |
void | sleep (uint interval=uint.max) |
Thread | createThread (int(*dg)(), bool start=false) |
char[] | error () |
char[] | error (uint errcode) |
Static Private Attributes | |
uint | frequency |
ulong | beginTime |
ulong | beginCounter |
Definition at line 133 of file System.d.
|
Time interval multipliers. All Mango intervals are based upon microseconds. |
|
Setup the timing information for later use. Note how much effort it takes to get epoch time in Win32 ... Definition at line 160 of file System.d. References beginCounter, beginTime, Exception, frequency, time, and version. |
|
Return the number of milliseconds since January 1st 1970 Definition at line 218 of file System.d. References beginCounter, beginTime, frequency, time, and version. |
|
The time this executable started (ms since Jan 1st 1970) Definition at line 243 of file System.d. References beginTime. |
|
Send this thread to sleep for a while. The time interval is measured in microseconds. Specifying a period value of uint.max will cause the calling thread to sleep forever. Definition at line 256 of file System.d. References version. |
|
Create a thread for the given delegate, and optionally start it up. |
|
Definition at line 286 of file System.d. References version. |
|
|
|
Definition at line 135 of file System.d. Referenced by getMillisecs(), and this(). |
|
Definition at line 136 of file System.d. Referenced by getBeginTime(), getMillisecs(), and this(). |
|
Definition at line 137 of file System.d. Referenced by getMillisecs(), and this(). |