openMSX
Timer.hh
Go to the documentation of this file.
1 #ifndef TIMER_HH
2 #define TIMER_HH
3 
4 #include <cstdint>
5 
6 namespace openmsx::Timer {
7 
10  uint64_t getTime();
11 
15  void sleep(uint64_t us);
16 
17 } // namespace openmsx::Timer
18 
19 #endif
void sleep(uint64_t us)
Sleep for the specified amount of time (in us).
Definition: Timer.cc:28
uint64_t getTime()
Get current (real) time in us.
Definition: Timer.cc:7