diff options
author | Bartosz Taudul <wolf.pld@gmail.com> | 2019-05-19 14:15:54 +0300 |
---|---|---|
committer | Bartosz Taudul <wolf.pld@gmail.com> | 2019-05-19 14:15:54 +0300 |
commit | 30c398cd96b3699debd19845ec47a13568e620c6 (patch) | |
tree | 50ec8c81510a75c8bf239d1f6572cdca92bb9d95 /server/TracyView.hpp | |
parent | 952e466287dae767b5e6da0e201051dbe8695269 (diff) |
Don't allocate memory for empty pages in memory map.
Diffstat (limited to 'server/TracyView.hpp')
-rw-r--r-- | server/TracyView.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/TracyView.hpp b/server/TracyView.hpp index 8dd4ee80..63be3cda 100644 --- a/server/TracyView.hpp +++ b/server/TracyView.hpp @@ -21,6 +21,7 @@ struct ImFont; namespace tracy { +struct MemoryPage; struct QueueItem; class FileRead; class TextEditor; @@ -180,7 +181,7 @@ private: void FindZonesCompare(); #endif - std::pair<int8_t*, size_t> GetMemoryPages() const; + std::vector<MemoryPage> GetMemoryPages() const; const char* GetPlotName( const PlotData* plot ) const; void SmallCallstackButton( const char* name, uint32_t callstack, int& idx, bool tooltip = true ); |