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

Only display results for a single source location match.

This commit is contained in:
Bartosz Taudul
2018-03-18 16:07:07 +01:00
parent 3207861869
commit af3559afed
2 changed files with 52 additions and 68 deletions
+3 -1
View File
@@ -169,7 +169,8 @@ private:
struct {
bool show;
std::vector<uint32_t> counts;
flat_hash_map<int32_t, bool> match;
std::vector<int32_t> match;
int selMatch = 0;
char pattern[1024] = { "" };
bool logVal = false;
bool logTime = false;
@@ -180,6 +181,7 @@ private:
{
match.clear();
counts.clear();
selMatch = 0;
highlight.active = false;
}
} m_findZone;