mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Fix time range reset condition.
This commit is contained in:
parent
29819321b9
commit
7549c50bab
@ -6554,8 +6554,6 @@ void View::DrawFindZone()
|
||||
size_t i;
|
||||
if( m_findZone.runningTime )
|
||||
{
|
||||
tmin = std::numeric_limits<int64_t>::max();
|
||||
tmax = std::numeric_limits<int64_t>::min();
|
||||
for( i=m_findZone.sortedNum; i<zsz; i++ )
|
||||
{
|
||||
auto& zone = *zones[i].zone;
|
||||
|
@ -418,6 +418,8 @@ private:
|
||||
average = 0;
|
||||
median = 0;
|
||||
total = 0;
|
||||
tmin = std::numeric_limits<int64_t>::max();
|
||||
tmax = std::numeric_limits<int64_t>::min();
|
||||
}
|
||||
|
||||
void ResetGroups()
|
||||
|
Loading…
Reference in New Issue
Block a user