diff options
author | Andy Ayers <andya@microsoft.com> | 2016-07-15 13:06:44 -0700 |
---|---|---|
committer | Andy Ayers <andya@microsoft.com> | 2016-07-15 13:06:44 -0700 |
commit | 10af6af8d2254f3ce8a4f4050bac29c7e5b13de1 (patch) | |
tree | 5961258f27b946392f3a3ce341b0737df143673c /src/jit/inlinepolicy.cpp | |
parent | 361edab2925026970715546bdc7ccca0b6c058cd (diff) | |
download | coreclr-10af6af8d2254f3ce8a4f4050bac29c7e5b13de1.tar.gz coreclr-10af6af8d2254f3ce8a4f4050bac29c7e5b13de1.tar.bz2 coreclr-10af6af8d2254f3ce8a4f4050bac29c7e5b13de1.zip |
Inliner: capture profit model estimate during replay
When using ReplayPolicy and dumping data, capture the profitability
estimate made by the ModelPolicy, so we can more easily cross-validate
it against externally measured profitability.
Diffstat (limited to 'src/jit/inlinepolicy.cpp')
-rw-r--r-- | src/jit/inlinepolicy.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/jit/inlinepolicy.cpp b/src/jit/inlinepolicy.cpp index eee337eead..b3ec841a39 100644 --- a/src/jit/inlinepolicy.cpp +++ b/src/jit/inlinepolicy.cpp @@ -2685,12 +2685,13 @@ void ReplayPolicy::DetermineProfitability(CORINFO_METHOD_INFO* methodInfo) } // If we're also dumping inline data, make additional observations - // based on the method info, and estimate code size, so that the - // reports have the necessary data. + // based on the method info, and estimate code size and perf + // impact, so that the reports have the necessary data. if (JitConfig.JitInlineDumpData() != 0) { MethodInfoObservations(methodInfo); EstimateCodeSize(); + EstimatePerformanceImpact(); m_IsForceInline = m_WasForceInline; } |