mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Move CPUStats.h -> util/cpu_stats.cpp
This commit is contained in:
parent
090a769bf6
commit
cd01a1eb09
7 changed files with 57 additions and 43 deletions
18
rpcs3/util/cpu_stats.hpp
Normal file
18
rpcs3/util/cpu_stats.hpp
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#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();
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue