1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Don't allocate memory for empty pages in memory map.

This commit is contained in:
Bartosz Taudul
2019-05-19 13:15:54 +02:00
parent 952e466287
commit 30c398cd96
2 changed files with 94 additions and 82 deletions
+2 -1
View File
@@ -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 );