Skip to content

Commit

Permalink
Remove some left-over debug code (#55408)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch authored Jul 9, 2021
1 parent a7a9448 commit c8486b6
Showing 1 changed file with 0 additions and 1 deletion.
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

0 comments on commit c8486b6

Please sign in to comment.