mirror of
https://github.com/MoleskiCoder/EightBitNet.git
synced 2026-03-11 05:41:49 +00:00
Profile clarifications
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
namespace EightBit
|
||||
{
|
||||
public class ProfileEventArgs(string output) : EventArgs
|
||||
public sealed class ProfileEventArgs(string output) : EventArgs
|
||||
{
|
||||
public string Output { get; } = output;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace EightBit
|
||||
{
|
||||
public class ProfileInstructionEventArgs(byte instruction, long cycles, long count) : EventArgs
|
||||
public sealed class ProfileInstructionEventArgs(byte instruction, long cycles, long count) : EventArgs
|
||||
{
|
||||
public byte Instruction { get; } = instruction;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace EightBit
|
||||
{
|
||||
public class ProfileLineEventArgs(ushort address, string source, long cycles, long count, Dictionary<int, long> cycleDistributions) : CycleCountedEventArgs(cycles, count)
|
||||
public sealed class ProfileLineEventArgs(ushort address, string source, long cycles, long count, Dictionary<int, long> cycleDistributions) : CycleCountedEventArgs(cycles, count)
|
||||
{
|
||||
public ushort Address { get; } = address;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
namespace EightBit
|
||||
{
|
||||
public class ProfileScopeEventArgs(int id, long cycles, long count) : CycleCountedEventArgs(cycles, count)
|
||||
public sealed class ProfileScopeEventArgs(int id, long cycles, long count) : CycleCountedEventArgs(cycles, count)
|
||||
{
|
||||
public int ID { get; } = id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user