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

Move find zone setup to a dedicated function.

This commit is contained in:
Bartosz Taudul
2018-04-05 19:30:32 +02:00
parent d1a0ae2564
commit 093787b3e8
2 changed files with 9 additions and 4 deletions
+8
View File
@@ -208,6 +208,14 @@ private:
threads.clear();
processed = 0;
}
void ShowZone( int32_t srcloc, const char* name )
{
show = true;
Reset();
match.emplace_back( srcloc );
strcpy( pattern, name );
}
} m_findZone;
struct {