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

Allow sorting CPU data table by different columns.

This commit is contained in:
Bartosz Taudul
2019-08-25 00:17:06 +02:00
parent 5e2614bcfa
commit e5a11ad593
2 changed files with 43 additions and 15 deletions
+11
View File
@@ -298,6 +298,17 @@ private:
bool m_drawContextSwitches = true;
bool m_drawCpuData = true;
enum class CpuDataSortBy
{
Pid,
Name,
Time,
Regions,
Migrations
};
CpuDataSortBy m_cpuDataSort = CpuDataSortBy::Pid;
int m_statSort = 0;
bool m_statSelf = false;
bool m_showCallstackFrameAddress = false;