Skip to content

Commit 2efa42b

Browse files
authored
Fix runtime knob names for CallCountThreshold and CallCountingDelayMs (#90799)
1 parent 940b332 commit 2efa42b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coreclr/vm/eeconfig.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ HRESULT EEConfig::sync()
721721
fTieredCompilation_CallCounting = CLRConfig::GetConfigValue(CLRConfig::INTERNAL_TC_CallCounting) != 0;
722722

723723
DWORD tieredCompilation_ConfiguredCallCountThreshold =
724-
Configuration::GetKnobDWORDValue(W("System.Runtime.TC_CallCountThreshold"), CLRConfig::EXTERNAL_TC_CallCountThreshold);
724+
Configuration::GetKnobDWORDValue(W("System.Runtime.TieredCompilation.CallCountThreshold"), CLRConfig::EXTERNAL_TC_CallCountThreshold);
725725

726726
if (tieredCompilation_ConfiguredCallCountThreshold == 0)
727727
{
@@ -737,7 +737,7 @@ HRESULT EEConfig::sync()
737737
}
738738

739739
tieredCompilation_CallCountingDelayMs =
740-
Configuration::GetKnobDWORDValue(W("System.Runtime.TC_CallCountingDelayMs"), CLRConfig::EXTERNAL_TC_CallCountingDelayMs);
740+
Configuration::GetKnobDWORDValue(W("System.Runtime.TieredCompilation.CallCountingDelayMs"), CLRConfig::EXTERNAL_TC_CallCountingDelayMs);
741741

742742
bool hasSingleProcessor = GetCurrentProcessCpuCount() == 1;
743743
if (hasSingleProcessor)

0 commit comments

Comments
 (0)