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

Display average and median zone time in find zone histogram.

This commit is contained in:
Bartosz Taudul
2018-09-02 00:28:57 +02:00
parent f66ed00d71
commit f43b875b83
2 changed files with 54 additions and 0 deletions
+6
View File
@@ -293,6 +293,9 @@ private:
std::unique_ptr<int64_t[]> bins, binTime, selBin;
std::vector<int64_t> sorted;
size_t sortedNum;
float average;
float median;
int64_t total;
void Reset()
{
@@ -303,6 +306,9 @@ private:
highlight.active = false;
sorted.clear();
sortedNum = 0;
average = 0;
median = 0;
total = 0;
}
void ResetGroups()