Step MemoryWatcher at end of each video frame.
This commit is contained in:
1 parent
f4d950f4e2
commit
239af3cdf9
5 files changed
+33
-46
No files matched your search
@@ -24,21 +24,18 @@ public:
|
||||
~MemoryWatcher();
|
||||
void Step();
|
||||
|
||||
static void Init();
|
||||
static void Shutdown();
|
||||
|
||||
private:
|
||||
bool LoadAddresses(const std::string& path);
|
||||
bool OpenSocket(const std::string& path);
|
||||
|
||||
void ParseLine(const std::string& line);
|
||||
u32 ChasePointer(const std::string& line);
|
||||
std::string ComposeMessage(const std::string& line, u32 value);
|
||||
std::string ComposeMessages();
|
||||
|
||||
bool m_running;
|
||||
bool m_running = false;
|
||||
|
||||
int m_fd;
|
||||
sockaddr_un m_addr;
|
||||
sockaddr_un m_addr{};
|
||||
|
||||
// Address as stored in the file -> list of offsets to follow
|
||||
std::map<std::string, std::vector<u32>> m_addresses;
|
||||
|
||||
Reference in new issue
Block a user