Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/coreclr/tools/dotnet-pgo/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,6 @@ void PrintBar(string label, ref int curIndex, Func<double, bool> include, bool f
PrintBar($">{(int)proportion,2}%", ref curIndex, d => d * 100 > proportion, true);
PrintBar("0%", ref curIndex, d => true, false);

var wtf = sorted.Where(t => double.IsNaN(t.Overlap)).ToList();
PrintOutput(FormattableString.Invariant($"The average overlap is {sorted.Average(t => t.Overlap)*100:F2}% for the {sorted.Count} methods with matching flow graphs and profile data"));
double mse = sorted.Sum(t => (100 - t.Overlap*100) * (100 - t.Overlap*100)) / sorted.Count;
PrintOutput(FormattableString.Invariant($"The mean squared error is {mse:F2}"));
Expand Down