注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
Unigine::Timer Struct
Header: | #include <UnigineTimer.h> |
Timer Class
Members
void begin ( ) #
Starts the timer.long long end ( ) #
Returns the elapsed time in microseconds and stops the timer.Return value
Elapsed time in microseconds.double endSeconds ( ) #
Returns the elapsed time in seconds and stops the timer.Return value
Elapsed time in seconds.double endMilliseconds ( ) #
Returns the elapsed time in milliseconds and stops the timer.Return value
Elapsed time in milliseconds.long long getBeginTime ( ) #
Returns the time when the timer was started.Return value
Begin time.Last update:
2022-03-10
Help improve this article
(or select a word/phrase and press Ctrl+Enter)