mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-02 07:28:56 +00:00
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; }
|
|
};
|
|
} |