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

Restore per-thread zone list functionality.

This commit is contained in:
Bartosz Taudul
2018-03-18 16:41:58 +01:00
parent d08c10c5b6
commit 77fa8f54a6
2 changed files with 47 additions and 37 deletions
+9 -2
View File
@@ -169,8 +169,9 @@ private:
struct {
bool show;
std::vector<uint32_t> counts;
std::vector<int32_t> match;
std::map<uint64_t, std::vector<ZoneEvent*>> threads;
size_t processed;
int selMatch = 0;
char pattern[1024] = { "" };
bool logVal = false;
@@ -180,11 +181,17 @@ private:
void Reset()
{
ResetThreads();
match.clear();
counts.clear();
selMatch = 0;
highlight.active = false;
}
void ResetThreads()
{
threads.clear();
processed = 0;
}
} m_findZone;
};