diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-02-14 10:56:27 -0400 |
---|---|---|
committer | FernandoS27 <fsahmkow27@gmail.com> | 2020-02-22 11:18:07 -0400 |
commit | 5c90d22f3d92b9be818b19e03dd57eb217eb6567 (patch) | |
tree | 206a925ef68687d7b90e2b11d9d68bc42f2ce9d3 /src/core/hle/kernel/kernel.h | |
parent | 179bafa7cb1efae5405d38ea9b98dc6b3e1ec756 (diff) |
Kernel: Implement Time Manager.
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r-- | src/core/hle/kernel/kernel.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index c5e05f7b6a..76fd12ace2 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h @@ -33,6 +33,7 @@ class ResourceLimit; class Scheduler; class Synchronization; class Thread; +class TimeManager; /// Represents a single instance of the kernel. class KernelCore { @@ -107,6 +108,12 @@ public: /// Gets the an instance of the Synchronization Interface. const Kernel::Synchronization& Synchronization() const; + /// Gets the an instance of the TimeManager Interface. + Kernel::TimeManager& TimeManager(); + + /// Gets the an instance of the TimeManager Interface. + const Kernel::TimeManager& TimeManager() const; + /// Stops execution of 'id' core, in order to reschedule a new thread. void PrepareReschedule(std::size_t id); |