|
Declared in: be/kernel/OS.h
Library: libroot.so
Summary: more...
The following functions set and get the system clock.
real_time_clock() , real_time_clock_usecs() , set_real_time_clock() |
uint32 real_time_clock (void) bigtime_t real_time_clock_usecs (void) 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.
system_time() |
bigtime_t system_time(void) Returns the number of microseconds that have elapsed since the computer was booted.
|
Copyright © 2000 Be, Inc. All rights reserved..