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

Highlight selected zone group on histogram.

This commit is contained in:
Bartosz Taudul
2018-03-20 14:37:58 +01:00
parent 64e05e4726
commit ad37f0857b
2 changed files with 149 additions and 35 deletions
+4
View File
@@ -169,11 +169,14 @@ private:
Animation m_zoomAnim;
struct {
enum : uint64_t { Unselected = std::numeric_limits<uint64_t>::max() - 1 };
bool show;
std::vector<int32_t> match;
std::map<uint64_t, Vector<ZoneEvent*>> threads;
size_t processed;
int selMatch = 0;
uint64_t selThread = Unselected;
char pattern[1024] = { "" };
bool logVal = false;
bool logTime = false;
@@ -186,6 +189,7 @@ private:
ResetThreads();
match.clear();
selMatch = 0;
selThread = Unselected;
highlight.active = false;
}