openMSX
|
Functions | |
uint64_t | getTime () |
Get current (real) time in us. | |
void | sleep (uint64_t us) |
Sleep for the specified amount of time (in us). | |
uint64_t openmsx::Timer::getTime | ( | ) |
Get current (real) time in us.
Absolute value has no meaning.
Definition at line 7 of file Timer.cc.
Referenced by openmsx::Display::Display(), openmsx::RTScheduler::execute(), openmsx::RealTimeInfo::execute(), openmsx::PixelRenderer::frameEnd(), openmsx::V9990PixelRenderer::frameEnd(), openmsx::PixelRenderer::frameStart(), openmsx::FilePoolCore::getFile(), openmsx::OSDImageBasedWidget::getPos(), openmsx::HD::getTigerTreeHash(), openmsx::Display::repaintImpl(), openmsx::RealTime::resync(), openmsx::LedStatus::setLed(), openmsx::OSDImageBasedWidget::setProperty(), openmsx::EventDelay::sync(), and openmsx::RealTime::timeLeft().
void openmsx::Timer::sleep | ( | uint64_t | us | ) |
Sleep for the specified amount of time (in us).
It is possible that this method sleeps longer or shorter than the requested time.
Definition at line 27 of file Timer.cc.
Referenced by TEST_CASE(), and openmsx::SDLSoundDriver::uploadBuffer().