Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
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:
2021-12-13
Help improve this article
(or select a word/phrase and press Ctrl+Enter)