xref: /haiku/src/system/libroot/os/arch/generic/generic_system_time_nsecs.cpp (revision b2a2d5c065c666b95bee185bd29615c9a6ac790e)
1*b2a2d5c0SIngo Weinhold /*
2*b2a2d5c0SIngo Weinhold  * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3*b2a2d5c0SIngo Weinhold  * Distributed under the terms of the MIT License.
4*b2a2d5c0SIngo Weinhold  */
5*b2a2d5c0SIngo Weinhold 
6*b2a2d5c0SIngo Weinhold 
7*b2a2d5c0SIngo Weinhold #include <OS.h>
8*b2a2d5c0SIngo Weinhold 
9*b2a2d5c0SIngo Weinhold 
10*b2a2d5c0SIngo Weinhold nanotime_t
system_time_nsecs()11*b2a2d5c0SIngo Weinhold system_time_nsecs()
12*b2a2d5c0SIngo Weinhold {
13*b2a2d5c0SIngo Weinhold 	return system_time() * 1000;
14*b2a2d5c0SIngo Weinhold }
15