mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 10:09:16 +00:00
Removes NUMA from HW reports
NUMA is needed for multiprocessors systems like server ones. We don't target such platform. OS shouldn't handle that for us. Also we had NUMA support only for Windows.
This commit is contained in:
1 file changed
-5
@@ -30,7 +30,6 @@
|
||||
#include "lib/sysdep/arch.h"
|
||||
#include "lib/sysdep/compiler.h"
|
||||
#include "lib/sysdep/cpu.h"
|
||||
#include "lib/sysdep/numa.h"
|
||||
#include "lib/sysdep/os.h"
|
||||
#include "lib/sysdep/os_cpu.h"
|
||||
#include "lib/sysdep/sysdep.h" // sys_OpenFile
|
||||
@@ -434,10 +433,6 @@ void RunHardwareDetection(bool writeSystemInfoBeforeDetection, Renderer::Backend
|
||||
Script::SetProperty(rq, settings, "cpu_largepagesize", static_cast<std::uint32_t>(os_cpu_LargePageSize()));
|
||||
Script::SetProperty(rq, settings, "cpu_numprocs", static_cast<std::uint32_t>(os_cpu_NumProcessors()));
|
||||
|
||||
Script::SetProperty(rq, settings, "numa_numnodes", static_cast<std::uint32_t>(numa_NumNodes()));
|
||||
Script::SetProperty(rq, settings, "numa_factor", numa_Factor());
|
||||
Script::SetProperty(rq, settings, "numa_interleaved", numa_IsMemoryInterleaved());
|
||||
|
||||
Script::SetProperty(rq, settings, "ram_total", static_cast<std::uint32_t>(os_cpu_MemorySize()));
|
||||
Script::SetProperty(rq, settings, "ram_total_os", static_cast<std::uint32_t>(os_cpu_QueryMemorySize()));
|
||||
|
||||
|
||||
Reference in new issue
Block a user