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

Allow sorting memory data listings.

This commit is contained in:
Bartosz Taudul
2020-02-05 17:05:15 +01:00
parent 9aecd43f24
commit 0bb6162a01
2 changed files with 46 additions and 21 deletions
+1 -2
View File
@@ -153,8 +153,7 @@ private:
void DrawSelectedAnnotation();
void DrawAnnotationList();
template<class T>
void ListMemData( T ptr, T end, std::function<void(T)> DrawAddress, const char* id = nullptr, int64_t startTime = -1 );
void ListMemData( std::vector<const MemEvent*>& vec, std::function<void(const MemEvent*)> DrawAddress, const char* id = nullptr, int64_t startTime = -1 );
unordered_flat_map<uint32_t, PathData> GetCallstackPaths( const MemData& mem, bool onlyActive ) const;
unordered_flat_map<uint64_t, CallstackFrameTree> GetCallstackFrameTreeBottomUp( const MemData& mem ) const;