Added stub functions.

This commit is contained in:
Tom Lally 2022-09-02 10:33:00 +01:00
parent 64772d4313
commit 3442fe634c

View 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