mirror of
https://github.com/wolfpld/tracy.git
synced 2026-10-05 00:15:23 +00:00
Define a list of priority queries.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user