40 return Tick((t * 1000.0) + 0.5);
void n_sleep(double sec)
Put process to sleep.
Definition debug.cc:239
These are the standard time source objects provided by Application layer:
Definition calendartimebase.h:19
Tick SecondsToTicks(Time t)
Convert seconds to ticks.
Definition time.h:37
int Tick
the tick datatype (one tick == 1 millisecond)
Definition time.h:20
void Sleep(Time t)
Put current thread to sleep for specified amount of seconds.
Definition time.h:48
double Time
the time datatype
Definition time.h:18
Time TicksToSeconds(Tick ticks)
Convert ticks to seconds.
Definition time.h:27