namespace BizHawk.Emulation.Common { /// /// Allows the cpu to dump trace info to a trace stream /// public interface ITraceable : IEmulatorService { // TODO: would it be faster (considering both disk and screen output) to keep the data as a List directly? bool Enabled { get; set; } /// /// The header that would be used by a trace logger /// string Header { get; set; } /// /// The current log of cpu instructions /// string Contents { get; } /// /// Takes the current log of cpu instructions, when doing so, it will clear the contents from the buffer /// string TakeContents(); /// /// Adds contents to the log of cpu instructions /// void Put(string content); } }