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