Emit address hit counts

This commit is contained in:
Adrian Conlon
2024-06-10 11:12:02 +01:00
parent fa46edc8ba
commit 09f44ab28c

View File

@@ -234,7 +234,7 @@ namespace M6502.Test
private void Profiler_EmitLine(object? sender, ProfileLineEventArgs e)
{
var proportion = (double)e.Cycles / this.profiler.TotalCycleCount;
Console.Out.Write(string.Format(CultureInfo.InvariantCulture, "\t[{0:P2}][{1:d9}]\t{2}\n", proportion, e.Cycles, e.Source));
Console.Out.Write(string.Format(CultureInfo.InvariantCulture, "\t[{0:P2}][{1:d9}][{2:d9}]\t{3}\n", proportion, e.Cycles, e.Count, e.Source));
}
private void Profiler_FinishedScopeOutput(object? sender, EventArgs e)