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

Calculate total self time of zones.

This commit is contained in:
Bartosz Taudul
2018-06-06 00:39:22 +02:00
parent 814cd1553d
commit b7930f67da
2 changed files with 16 additions and 2 deletions
+2
View File
@@ -60,12 +60,14 @@ class Worker
: min( std::numeric_limits<int64_t>::max() )
, max( std::numeric_limits<int64_t>::min() )
, total( 0 )
, selfTotal( 0 )
{}
Vector<ZoneThreadData> zones;
int64_t min;
int64_t max;
int64_t total;
int64_t selfTotal;
};
struct DataBlock