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

Display CPU info.

This commit is contained in:
Bartosz Taudul
2020-05-06 19:15:22 +02:00
parent 6fda74e281
commit eab3adfa1d
2 changed files with 23 additions and 0 deletions
+2
View File
@@ -377,6 +377,8 @@ public:
int64_t GetResolution() const { return m_resolution; }
uint64_t GetPid() const { return m_pid; };
CpuArchitecture GetCpuArch() const { return m_data.cpuArch; }
uint32_t GetCpuId() const { return m_data.cpuId; }
const char* GetCpuManufacturer() const { return m_data.cpuManufacturer; }
std::shared_mutex& GetDataLock() { return m_data.lock; }
size_t GetFrameCount( const FrameData& fd ) const { return fd.frames.size(); }