mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
[kernel] Update scheduler policies
A few updates to scheduler policies: * Grant processes a startup timeslice bonus for time spent loading the process * Grant processes a small fraction of a timeslice for yielding the CPU with time left
This commit is contained in:
@@ -25,7 +25,7 @@ public:
|
||||
|
||||
/// Update the internal state via the source
|
||||
/// \returns Current value of the clock
|
||||
inline void update() { m_current = value(); return m_current; }
|
||||
inline void update() { m_current = value(); }
|
||||
|
||||
/// Wait in a tight loop
|
||||
/// \arg interval Time to wait, in ns
|
||||
|
||||
Reference in New Issue
Block a user