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

Calculate self min and max times of source location zones.

This commit is contained in:
Bartosz Taudul
2019-01-23 14:24:22 +01:00
parent 118fab1561
commit 42af2d14cc
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -86,6 +86,8 @@ private:
: min( std::numeric_limits<int64_t>::max() )
, max( std::numeric_limits<int64_t>::min() )
, total( 0 )
, selfMin( std::numeric_limits<int64_t>::max() )
, selfMax( std::numeric_limits<int64_t>::min() )
, selfTotal( 0 )
{}
@@ -93,6 +95,8 @@ private:
int64_t min;
int64_t max;
int64_t total;
int64_t selfMin;
int64_t selfMax;
int64_t selfTotal;
};