mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
18 lines
207 B
C++
18 lines
207 B
C++
#pragma once
|
|
|
|
#include "util/types.hpp"
|
|
|
|
namespace utils
|
|
{
|
|
class cpu_stats
|
|
{
|
|
u64 m_last_cpu, m_sys_cpu, m_usr_cpu;
|
|
|
|
public:
|
|
cpu_stats();
|
|
|
|
double get_usage();
|
|
|
|
static u32 get_thread_count();
|
|
};
|
|
}
|