EightBit/M6502/inc/ProfileScopeEventArgs.h
Adrian.Conlon 88d3e4fd47 Initial stab at getting MOS6502 imported to the EightBit library.
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
2017-07-02 22:03:33 +01:00

21 lines
483 B
C++

#pragma once
#include <string>
#include <cstdint>
namespace EightBit {
class ProfileScopeEventArgs {
private:
std::string m_scope;
uint64_t m_cycles;
uint64_t m_count;
public:
ProfileScopeEventArgs(std::string scope, uint64_t cycles, uint64_t count)
: m_scope(scope), m_cycles(cycles), m_count(count) {}
const std::string& getScope() const { return m_scope; }
uint64_t getCycles() const { return m_cycles; }
uint64_t getCount() const { return m_count; }
};
}