parent
f919452bc4
commit
593dc16897
@ -325,13 +325,15 @@ namespace Aurora
|
||||
|
||||
bool bNoThreadNames { false };
|
||||
bool bPlatformIsSMPProcessorOptimized { true }; // Whether to attempt to using mm_pause or similar before yielding into the kernel
|
||||
AuUInt8 uSpinLoopPowerA { 7 }; // Nudgable spinloop power. This is our local userland niceness factor; where 1 << n is the amount of yield instructions to stall for
|
||||
AuUInt8 uSpinLoopPowerA { 7 }; // Nudgable spinloop power. This is our local userland niceness factor; where 1 << n is the amount of smt-yield instructions to stall for
|
||||
// This is comparable to Win32's SetCriticalSectionSpinCount applied across every single AuThreadPrimitives try-lock and lock.
|
||||
// Adjust this value to compensate for longer critical sections when context switching isn't preferrable.
|
||||
bool bEnableAggressiveScheduling { false };
|
||||
bool bEnableAgrSchedulingRatelimit { true };
|
||||
bool bPreferNt51XpMutexesOver8 { false };
|
||||
bool bPreferNt51XpCondvarsOver8 { false };
|
||||
bool bPreferNtCondvarModernWinSpin { true }; // to reevaluate (true could cause double spinning depending on the nt version! prediction: true regardless)
|
||||
bool bPreferNtCondvarOlderWinSpin { true }; // to reevaluate (true could cause excessive context switching in signaling thread! prediction: back to false)
|
||||
bool bPreferNtCondvarModernWinSpin { false };
|
||||
bool bPreferNtCondvarOlderWinSpin { true };
|
||||
};
|
||||
|
||||
struct RuntimeStartInfo
|
||||
|
@ -29,7 +29,7 @@ namespace Aurora::Time
|
||||
Returns a steady system clock of SteadyClockJiffies() with an undefined epoch.
|
||||
|
||||
These values should be used to drive thread primitives, IO time, and tick delta.
|
||||
On a modern plaform, these should be affected by the users' calendar or NTP.
|
||||
On a modern plaform, these shoudln't be affected by the users' calendar or NTP.
|
||||
On stinkier platforms, who cares if we can run mostly bug free with an assumed-sane wall-clock, right?
|
||||
*/
|
||||
AUKN_SYM AuUInt64 SteadyClockMS();
|
||||
|
Loading…
Reference in New Issue
Block a user