mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 01:24:41 -06:00
Added stub functions.
This commit is contained in:
parent
64772d4313
commit
3442fe634c
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…
Reference in New Issue
Block a user