Profile clarifications

This commit is contained in:
Adrian Conlon
2024-09-18 11:23:51 +01:00
parent 489b7b21e6
commit b4e130aa9c
4 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
namespace EightBit
{
public class ProfileEventArgs(string output) : EventArgs
public sealed class ProfileEventArgs(string output) : EventArgs
{
public string Output { get; } = output;
}

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;
}