-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Rework and simplify initial versioning and tiering rules #125243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
e69a0de
c639ff0
12130e6
12209cf
0632f9d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -789,11 +789,35 @@ HRESULT EEConfig::sync() | |||||
| } | ||||||
| #endif | ||||||
|
|
||||||
| #ifdef FEATURE_PGO | ||||||
| if (fTieredPGO) | ||||||
| { | ||||||
| // Initial tier for R2R is always just OptimizationTier0 | ||||||
| // For ILOnly it depends on TieredPGO_InstrumentOnlyHotCode: | ||||||
| // OptimizationTier0 as we don't want to instrument the initial version (will only instrument hot Tier0) | ||||||
| // OptimizationTier0Instrumented - instrument all ILOnly code | ||||||
| if (g_pConfig->TieredPGO_InstrumentOnlyHotCode()) | ||||||
| { | ||||||
| tieredCompilation_DefaultTier = (DWORD)NativeCodeVersion::OptimizationTier0; | ||||||
| } | ||||||
| else | ||||||
| { | ||||||
| tieredCompilation_DefaultTier = (DWORD)NativeCodeVersion::OptimizationTier0Instrumented; | ||||||
| } | ||||||
| } | ||||||
| else | ||||||
| #endif | ||||||
| { | ||||||
| tieredCompilation_DefaultTier = (DWORD)NativeCodeVersion::OptimizationTier0; | ||||||
| } | ||||||
davidwrighton marked this conversation as resolved.
Show resolved
Hide resolved
|
||||||
|
|
||||||
| if (ETW::CompilationLog::TieredCompilation::Runtime::IsEnabled()) | ||||||
| { | ||||||
| ETW::CompilationLog::TieredCompilation::Runtime::SendSettings(); | ||||||
| } | ||||||
| } | ||||||
| #else // !FEATURE_TIERED_COMPILATION | ||||||
| tieredCompilation_DefaultTier = NativeCodeVersion::OptimizationTierOptimized; | ||||||
|
||||||
| tieredCompilation_DefaultTier = NativeCodeVersion::OptimizationTierOptimized; | |
| tieredCompilation_DefaultTier = (DWORD)NativeCodeVersion::OptimizationTierOptimized; |
Uh oh!
There was an error while loading. Please reload this page.