The Kernel Kit Table of Contents | The Kernel Kit Index |
Declared in: be/kernel/OS.h
Library: libroot.so
The following functions set and get the system clock.
|
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.
|
Returns the number of microseconds that have elapsed since the computer was booted.
The Kernel Kit Table of Contents | The Kernel Kit Index |
Copyright © 2000 Be, Inc. All rights reserved..