mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-11 10:18:21 +09:00
Fix runtime knob names for CallCountThreshold and CallCountingDelayMs (#90799)
This commit is contained in:
parent
940b332ad0
commit
2efa42bc18
1 changed files with 2 additions and 2 deletions
|
@ -721,7 +721,7 @@ HRESULT EEConfig::sync()
|
||||||
fTieredCompilation_CallCounting = CLRConfig::GetConfigValue(CLRConfig::INTERNAL_TC_CallCounting) != 0;
|
fTieredCompilation_CallCounting = CLRConfig::GetConfigValue(CLRConfig::INTERNAL_TC_CallCounting) != 0;
|
||||||
|
|
||||||
DWORD tieredCompilation_ConfiguredCallCountThreshold =
|
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)
|
if (tieredCompilation_ConfiguredCallCountThreshold == 0)
|
||||||
{
|
{
|
||||||
|
@ -737,7 +737,7 @@ HRESULT EEConfig::sync()
|
||||||
}
|
}
|
||||||
|
|
||||||
tieredCompilation_CallCountingDelayMs =
|
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;
|
bool hasSingleProcessor = GetCurrentProcessCpuCount() == 1;
|
||||||
if (hasSingleProcessor)
|
if (hasSingleProcessor)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue