mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +00:00
Define a list of priority queries.
This commit is contained in:
parent
8aeda02d8a
commit
d691cb2a06
@ -253,6 +253,19 @@ static void ReadHwSampleVec( FileRead& f, SortedVector<Int48, Int48Sort>& vec, S
|
||||
}
|
||||
}
|
||||
|
||||
// Should be just a simple comparison. Do this when protocol version changes.
|
||||
static bool IsQueryPrio( ServerQuery type )
|
||||
{
|
||||
return
|
||||
type == ServerQuery::ServerQueryString ||
|
||||
type == ServerQuery::ServerQueryThreadString ||
|
||||
type == ServerQuery::ServerQuerySourceLocation ||
|
||||
type == ServerQuery::ServerQueryPlotName ||
|
||||
type == ServerQuery::ServerQueryFrameName ||
|
||||
type == ServerQuery::ServerQueryParameter ||
|
||||
type == ServerQuery::ServerQueryFiberName;
|
||||
}
|
||||
|
||||
|
||||
LoadProgress Worker::s_loadProgress;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user