mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-09 16:31:19 +12:00
Added stub functions.
This commit is contained in:
parent
64772d4313
commit
3442fe634c
1 changed files with 25 additions and 0 deletions
25
src/util/SystemInfo/SystemInfoStub.cpp
Normal file
25
src/util/SystemInfo/SystemInfoStub.cpp
Normal file
|
@ -0,0 +1,25 @@
|
|||
#if !BOOST_OS_WINDOWS && !BOOST_OS_LINUX
|
||||
|
||||
#include "util/SystemInfo/SystemInfo.h"
|
||||
|
||||
uint64 QueryRamUsage()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
void QueryProcTime(uint64 &out_now, uint64 &out_user, uint64 &out_kernel)
|
||||
{
|
||||
out_now = 0;
|
||||
out_user = 0;
|
||||
out_kernel = 0;
|
||||
}
|
||||
|
||||
void QueryCoreTimes(uint32 count, ProcessorTime out[])
|
||||
{
|
||||
for (auto i = 0; i < count; ++i)
|
||||
{
|
||||
out[i] = { };
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue