Declared in: | kernel/OS.h |
Library: | libroot.so |
uint32 real_time_clock();
bigtime_t real_time_clock_usecs();
void set_real_time_clock(int32 secs_since_jan1_1970);
real_time_clock()
returns the number of seconds that have elapsed since
January 1, 1970.
real_time_clock_usecs()
measures the same time span in microseconds.
set_real_time_clock()
sets the value that the other two functions refer
to.