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

Move memory allocations table drawing to a separate function.

This commit is contained in:
Bartosz Taudul
2018-04-02 02:19:46 +02:00
parent 1fa943d109
commit c4a36398f6
2 changed files with 104 additions and 89 deletions
+4
View File
@@ -2,6 +2,7 @@
#define __TRACYVIEW_HPP__
#include <atomic>
#include <functional>
#include <map>
#include <string>
#include <thread>
@@ -76,6 +77,9 @@ private:
void DrawStatistics();
void DrawMemory();
template<class T>
void ListMemData( T ptr, T end, std::function<MemEvent*(T&)> DrawAddress );
void DrawInfoWindow();
void DrawZoneInfoWindow();
void DrawGpuInfoWindow();