1
0
forked from mirrors/0ad

Remove topology.cpp. The data isn't useful to us, and it prevents some players from running the game.

Fixes #6028
Differential Revision: https://code.wildfiregames.com/D4402
This was SVN commit r26157.
This commit is contained in:
Stan
2022-01-03 10:29:34 +00:00
parent 273d336364
commit 7afe489214
5 changed files with 2 additions and 431 deletions
+1 -7
View File
@@ -1,4 +1,4 @@
/* Copyright (C) 2021 Wildfire Games.
/* Copyright (C) 2022 Wildfire Games.
* This file is part of 0 A.D.
*
* 0 A.D. is free software: you can redistribute it and/or modify
@@ -25,9 +25,6 @@
#include "lib/bits.h" // round_up
#include "lib/ogl.h"
#include "lib/posix/posix_utsname.h"
#if ARCH_X86_X64
#include "lib/sysdep/arch/x86_x64/topology.h"
#endif
#include "lib/sysdep/cpu.h"
#include "lib/sysdep/os_cpu.h"
#include "lib/sysdep/smbios.h"
@@ -81,9 +78,6 @@ void WriteSystemInfo()
// CPU
fprintf(f, "CPU : %s, %s", un.machine, cpu_IdentifierString());
#if ARCH_X86_X64
fprintf(f, " (%dx%dx%d)", (int)topology::NumPackages(), (int)topology::CoresPerPackage(), (int)topology::LogicalPerCore());
#endif
double cpuClock = os_cpu_ClockFrequency(); // query OS (may fail)
#if ARCH_X86_X64
if(cpuClock <= 0.0)