mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08: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;
|
size_t i;
|
||||||
if( m_findZone.runningTime )
|
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++ )
|
for( i=m_findZone.sortedNum; i<zsz; i++ )
|
||||||
{
|
{
|
||||||
auto& zone = *zones[i].zone;
|
auto& zone = *zones[i].zone;
|
||||||
|
|||||||
@ -418,6 +418,8 @@ private:
|
|||||||
average = 0;
|
average = 0;
|
||||||
median = 0;
|
median = 0;
|
||||||
total = 0;
|
total = 0;
|
||||||
|
tmin = std::numeric_limits<int64_t>::max();
|
||||||
|
tmax = std::numeric_limits<int64_t>::min();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ResetGroups()
|
void ResetGroups()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user