mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-17 04:09:14 +00:00
88d3e4fd47
Signed-off-by: Adrian.Conlon <adrian.conlon@gmail.com>
20 lines
388 B
C++
20 lines
388 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include <cstdint>
|
|
|
|
namespace EightBit {
|
|
class ProfileLineEventArgs
|
|
{
|
|
private:
|
|
std::string m_source;
|
|
uint64_t m_cycles;
|
|
|
|
public:
|
|
ProfileLineEventArgs(std::string source, uint64_t cycles)
|
|
: m_source(source), m_cycles(cycles) {}
|
|
|
|
const std::string& getSource() const { return m_source; }
|
|
uint64_t getCycles() const { return m_cycles; }
|
|
};
|
|
} |