Added type nanotime_t (an int64 storing a nanoseconds value) and function
system_time_nsecs(), returning the system time in nanoseconds. The function is only really implemented for x86. For the other architectures system_time() * 1000 is returned. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34543 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -367,7 +367,8 @@ extern bigtime_t real_time_clock_usecs(void);
|
||||
extern status_t set_timezone(const char *timezone);
|
||||
extern bigtime_t system_time(void);
|
||||
/* time since booting in microseconds */
|
||||
|
||||
extern nanotime_t system_time_nsecs();
|
||||
/* time since booting in nanoseconds */
|
||||
|
||||
/* Alarm */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user