diff --git a/src/util/SystemInfo/SystemInfoStub.cpp b/src/util/SystemInfo/SystemInfoStub.cpp new file mode 100644 index 00000000..3d970d13 --- /dev/null +++ b/src/util/SystemInfo/SystemInfoStub.cpp @@ -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 \ No newline at end of file