openMSX
|
#include <Scheduler.hh>
Public Types | |
using | SyncPoints = std::vector< SynchronizationPoint > |
Public Member Functions | |
Scheduler ()=default | |
~Scheduler () | |
void | setCPU (MSXCPU *cpu_) |
EmuTime::param | getCurrentTime () const |
Get the current scheduler time. | |
EmuTime::param | getNext () const |
TODO. | |
void | schedule (EmuTime::param limit) |
Schedule till a certain moment in time. | |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Friends | |
class | Schedulable |
Definition at line 32 of file Scheduler.hh.
using openmsx::Scheduler::SyncPoints = std::vector<SynchronizationPoint> |
Definition at line 35 of file Scheduler.hh.
|
default |
openmsx::Scheduler::~Scheduler | ( | ) |
Definition at line 23 of file Scheduler.cc.
References to_vector().
EmuTime::param openmsx::Scheduler::getCurrentTime | ( | ) | const |
Get the current scheduler time.
Definition at line 82 of file Scheduler.cc.
References openmsx::Thread::isMainThread().
Referenced by openmsx::Schedulable::getCurrentTime().
|
inline |
TODO.
Definition at line 53 of file Scheduler.hh.
Referenced by openmsx::CPUClock::advanceTime(), openmsx::CPUClock::enableLimit(), and schedule().
|
inline |
Schedule till a certain moment in time.
Definition at line 61 of file Scheduler.hh.
References getNext().
void openmsx::Scheduler::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 124 of file Scheduler.cc.
|
inline |
Definition at line 40 of file Scheduler.hh.
Referenced by openmsx::MSXCPU::MSXCPU(), and openmsx::MSXCPU::~MSXCPU().
|
friend |
Definition at line 73 of file Scheduler.hh.