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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user