mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Initialize SourceLocationZones in-place.
This commit is contained in:
parent
d3fdd6b1d1
commit
f57cac9042
@ -82,22 +82,13 @@ public:
|
|||||||
private:
|
private:
|
||||||
struct SourceLocationZones
|
struct SourceLocationZones
|
||||||
{
|
{
|
||||||
SourceLocationZones()
|
|
||||||
: 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 )
|
|
||||||
{}
|
|
||||||
|
|
||||||
Vector<ZoneThreadData> zones;
|
Vector<ZoneThreadData> zones;
|
||||||
int64_t min;
|
int64_t min = std::numeric_limits<int64_t>::max();
|
||||||
int64_t max;
|
int64_t max = std::numeric_limits<int64_t>::min();
|
||||||
int64_t total;
|
int64_t total = 0;
|
||||||
int64_t selfMin;
|
int64_t selfMin = std::numeric_limits<int64_t>::max();
|
||||||
int64_t selfMax;
|
int64_t selfMax = std::numeric_limits<int64_t>::min();
|
||||||
int64_t selfTotal;
|
int64_t selfTotal = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CallstackFrameIdHash
|
struct CallstackFrameIdHash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user