[*] zoom
This commit is contained in:
parent
3e5aa1aff0
commit
a41a27198e
@ -364,7 +364,7 @@ namespace Aurora
|
|||||||
AuUInt64 bPreferEmulatedWakeOnAddress : 1 { false };
|
AuUInt64 bPreferEmulatedWakeOnAddress : 1 { false };
|
||||||
AuUInt64 bPreferWaitOnAddressAlwaysSpin : 1 { true }; // ..., if emulated! if double-spinning under higher level locks, disable me.
|
AuUInt64 bPreferWaitOnAddressAlwaysSpin : 1 { true }; // ..., if emulated! if double-spinning under higher level locks, disable me.
|
||||||
AuUInt64 bPreferRWLockReadLockSpin : 1 { true };
|
AuUInt64 bPreferRWLockReadLockSpin : 1 { true };
|
||||||
AuUInt64 bUWPNanosecondEmulationCheckFirst: 1 { false };
|
AuUInt64 bUWPNanosecondEmulationCheckFirst : 1 { false };
|
||||||
AuUInt64 uUWPNanosecondEmulationMaxYields : 7 { 12 };
|
AuUInt64 uUWPNanosecondEmulationMaxYields : 7 { 12 };
|
||||||
AuUInt64 bForceEnableAdaptiveSpin : 1 { false };
|
AuUInt64 bForceEnableAdaptiveSpin : 1 { false };
|
||||||
AuUInt64 bPreferLinuxAdaptiveSpin : 1 { true };
|
AuUInt64 bPreferLinuxAdaptiveSpin : 1 { true };
|
||||||
@ -373,6 +373,7 @@ namespace Aurora
|
|||||||
AuUInt64 uAdaptiveSpinCUCnt8 : 4 { 3 };
|
AuUInt64 uAdaptiveSpinCUCnt8 : 4 { 3 };
|
||||||
AuUInt64 uAdaptiveSpinCUCnt16 : 4 { 4 };
|
AuUInt64 uAdaptiveSpinCUCnt16 : 4 { 4 };
|
||||||
AuUInt64 bPreferFutexRWLock : 1 { true };
|
AuUInt64 bPreferFutexRWLock : 1 { true };
|
||||||
|
AuUInt64 bWinXpThrough7BlazeOptimizerPower : 7 { 12 }; // dont worry about it. we dont care about old portables. lets try to make older win32 targets tweak the scheduling in our favor a bit.
|
||||||
};
|
};
|
||||||
|
|
||||||
struct DummyConfig
|
struct DummyConfig
|
||||||
|
@ -216,7 +216,7 @@ namespace Aurora
|
|||||||
|
|
||||||
if (gRuntimeConfig.threadingConfig.bEnableAgrSchedulingRatelimit)
|
if (gRuntimeConfig.threadingConfig.bEnableAgrSchedulingRatelimit)
|
||||||
{
|
{
|
||||||
if (!((uCounter++) & 128))
|
if (!((uCounter++) & (1ull << (gRuntimeConfig.threadingConfig.bWinXpThrough7BlazeOptimizerPower + 5ull))))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user