2017-06-04 20:38:34 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <cstdint>
|
|
|
|
|
2017-07-02 21:03:33 +00:00
|
|
|
namespace EightBit {
|
|
|
|
class ProfileScopeEventArgs {
|
|
|
|
private:
|
|
|
|
std::string m_scope;
|
|
|
|
uint64_t m_cycles;
|
|
|
|
uint64_t m_count;
|
2017-06-04 20:38:34 +00:00
|
|
|
|
2017-07-02 21:03:33 +00:00
|
|
|
public:
|
|
|
|
ProfileScopeEventArgs(std::string scope, uint64_t cycles, uint64_t count)
|
|
|
|
: m_scope(scope), m_cycles(cycles), m_count(count) {}
|
2017-06-04 20:38:34 +00:00
|
|
|
|
2017-07-02 21:03:33 +00:00
|
|
|
const std::string& getScope() const { return m_scope; }
|
|
|
|
uint64_t getCycles() const { return m_cycles; }
|
|
|
|
uint64_t getCount() const { return m_count; }
|
|
|
|
};
|
|
|
|
}
|