1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-10 01:50:53 +09:00

Fix runtime knob names for CallCountThreshold and CallCountingDelayMs (#90799)

This commit is contained in:
Egor Bogatov 2023-08-19 10:07:56 +02:00 committed by GitHub
parent 940b332ad0
commit 2efa42bc18
Signed by: github
GPG key ID: 4AEE18F83AFDEB23

View file

@ -721,7 +721,7 @@ HRESULT EEConfig::sync()
fTieredCompilation_CallCounting = CLRConfig::GetConfigValue(CLRConfig::INTERNAL_TC_CallCounting) != 0;
DWORD tieredCompilation_ConfiguredCallCountThreshold =
Configuration::GetKnobDWORDValue(W("System.Runtime.TC_CallCountThreshold"), CLRConfig::EXTERNAL_TC_CallCountThreshold);
Configuration::GetKnobDWORDValue(W("System.Runtime.TieredCompilation.CallCountThreshold"), CLRConfig::EXTERNAL_TC_CallCountThreshold);
if (tieredCompilation_ConfiguredCallCountThreshold == 0)
{
@ -737,7 +737,7 @@ HRESULT EEConfig::sync()
}
tieredCompilation_CallCountingDelayMs =
Configuration::GetKnobDWORDValue(W("System.Runtime.TC_CallCountingDelayMs"), CLRConfig::EXTERNAL_TC_CallCountingDelayMs);
Configuration::GetKnobDWORDValue(W("System.Runtime.TieredCompilation.CallCountingDelayMs"), CLRConfig::EXTERNAL_TC_CallCountingDelayMs);
bool hasSingleProcessor = GetCurrentProcessCpuCount() == 1;
if (hasSingleProcessor)