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

Calculate sorted zone times for find zone histogram.

This commit is contained in:
Bartosz Taudul
2018-09-02 00:19:15 +02:00
parent e81218ddaf
commit f66ed00d71
2 changed files with 26 additions and 0 deletions
+4
View File
@@ -291,6 +291,8 @@ private:
Region highlight;
int64_t numBins = -1;
std::unique_ptr<int64_t[]> bins, binTime, selBin;
std::vector<int64_t> sorted;
size_t sortedNum;
void Reset()
{
@@ -299,6 +301,8 @@ private:
selMatch = 0;
selGroup = Unselected;
highlight.active = false;
sorted.clear();
sortedNum = 0;
}
void ResetGroups()