mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2025-11-25 21:17:35 +00:00
Emit address hit counts
This commit is contained in:
@@ -234,7 +234,7 @@ namespace M6502.Test
|
|||||||
private void Profiler_EmitLine(object? sender, ProfileLineEventArgs e)
|
private void Profiler_EmitLine(object? sender, ProfileLineEventArgs e)
|
||||||
{
|
{
|
||||||
var proportion = (double)e.Cycles / this.profiler.TotalCycleCount;
|
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)
|
private void Profiler_FinishedScopeOutput(object? sender, EventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user