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:
Ingo Weinhold
2009-12-07 21:43:19 +00:00
parent db905187d5
commit 34a48c70ef
13 changed files with 155 additions and 15 deletions
+1
View File
@@ -52,6 +52,7 @@ typedef unsigned short unichar;
/* descriptive types */
typedef int32 status_t;
typedef int64 bigtime_t;
typedef int64 nanotime_t;
typedef uint32 type_code;
typedef uint32 perform_code;