Skip to content

Commit

Permalink
Fix runtime knob names for CallCountThreshold and CallCountingDelayMs (
Browse files Browse the repository at this point in the history
…#90841)

Co-authored-by: EgorBo <egorbo@gmail.com>
  • Loading branch information
github-actions[bot] and EgorBo authored Aug 23, 2023
1 parent 3155448 commit ebbc4ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/vm/eeconfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand All @@ -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)
Expand Down

0 comments on commit ebbc4ce

Please sign in to comment.