mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 20:33:52 +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;
|
LoadProgress Worker::s_loadProgress;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user