注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
Unigine::Timer Class
Header: | #include <UnigineTimer.h> |
Timer Class
Members
static long long getClock( )
Returns CPU clocks counter.Return value
CPU clocks counter.static long double getFloatTime( )
Returns time in seconds.Return value
Time in seconds.static long long getTime( )
Returns time in microseconds.Return value
Time in microseconds.static void usleep( unsigned int usec )
Suspends process execution in microseconds.Arguments
- unsigned int usec - Time in microseconds.
Last update:
2020-01-21
Help improve this article
(or select a word/phrase and press Ctrl+Enter)