openMSX
thread
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
[[nodiscard]] uint64_t
getTime
();
11
15
void
sleep
(uint64_t us);
16
17
}
// namespace openmsx::Timer
18
19
#endif
openmsx::Timer
Definition
Timer.cc:5
openmsx::Timer::getTime
uint64_t getTime()
Get current (real) time in us.
Definition
Timer.cc:7
openmsx::Timer::sleep
void sleep(uint64_t us)
Sleep for the specified amount of time (in us).
Definition
Timer.cc:27
Generated on Sat Dec 21 2024 14:13:52 for openMSX by
1.9.8