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

Display list of matched source locations in search window.

This commit is contained in:
Bartosz Taudul
2018-03-04 21:10:10 +01:00
parent 5c1aec723d
commit 2c508c1f79
2 changed files with 35 additions and 7 deletions
+3 -1
View File
@@ -91,7 +91,7 @@ private:
const GpuEvent* GetZoneParent( const GpuEvent& zone ) const;
void FindZones();
void FindZones( const Vector<ZoneEvent*> &events, Vector<ZoneEvent*> &out, const std::vector<int32_t>& match, const int maxdepth = 0 );
void FindZones( const Vector<ZoneEvent*> &events, Vector<ZoneEvent*> &out, const int maxdepth = 0 );
template <typename T>
bool& Visible( const T* ptr )
@@ -163,6 +163,8 @@ private:
struct {
bool show;
std::vector<std::unique_ptr<ThreadData>> result;
std::vector<int32_t> match;
std::vector<bool> matchEnable;
char pattern[1024] = { "" };
int maxZonesPerThread = -1;
int maxDepth = -1;