#pragma once #include #include class Profiler { public: Profiler(); ~Profiler(); void addInstruction(uint8_t instruction); void addAddress(uint16_t address); void dump() const; private: std::array m_instructions; std::array m_addresses; void dumpInstructionProfiles() const; void dumpAddressProfiles() const; };