mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fixed physical core count always returning logical core count (this engine does not run on the AMD Phenom processor).
22 lines
552 B
C
22 lines
552 B
C
//===== Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ======//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
#ifndef CPU_H
|
|
#define CPU_H
|
|
|
|
bool CheckSSE3Technology(void);
|
|
bool CheckSSSE3Technology(void);
|
|
bool CheckSSE41Technology(void);
|
|
bool CheckSSE42Technology(void);
|
|
bool CheckSSE4aTechnology(void);
|
|
|
|
const char* GetProcessorVendorId(void);
|
|
const char* GetProcessorBrand(bool bRemovePadding);
|
|
|
|
const CPUInformation& GetCPUInformation(void);
|
|
|
|
#endif // CPU_H
|