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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user