mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-01-14 06:29:58 +00:00
18 lines
356 B
C
18 lines
356 B
C
|
#pragma once
|
||
|
|
||
|
#include <string>
|
||
|
#include <cstdint>
|
||
|
|
||
|
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; }
|
||
|
};
|