Fix Platform::GetCacheLineSize to be deprecated in favor of CPUInfo

This commit is contained in:
Wojtek Figat
2025-03-04 22:57:58 +01:00
parent 668511a727
commit 06665734e7
10 changed files with 7 additions and 25 deletions

View File

@@ -1766,11 +1766,6 @@ CPUInfo LinuxPlatform::GetCPUInfo()
return UnixCpu;
}
int32 LinuxPlatform::GetCacheLineSize()
{
return UnixCpu.CacheLineSize;
}
MemoryStats LinuxPlatform::GetMemoryStats()
{
// Get memory usage

View File

@@ -95,7 +95,6 @@ public:
}
static bool Is64BitPlatform();
static CPUInfo GetCPUInfo();
static int32 GetCacheLineSize();
static MemoryStats GetMemoryStats();
static ProcessMemoryStats GetProcessMemoryStats();
static uint64 GetCurrentThreadID()