20 OF_ASSUME_NONNULL_BEGIN
79 #if defined(OF_X86_64) || defined(OF_X86) || defined(DOXYGEN) 178 #if defined(OF_POWERPC) || defined(OF_POWERPC64) 186 + (bool)supportsAltiVec;
190 OF_ASSUME_NONNULL_END
OFString * userConfigPath()
Returns the path where user configuration for the application can be stored.
Definition: OFSystemInfo.m:232
size_t numberOfCPUs()
Returns the number of CPUs installed in the system.
Definition: OFSystemInfo.m:144
size_t pageSize()
Returns the size of a page.
Definition: OFSystemInfo.m:139
bool supportsSSE3()
Returns whether the CPU supports SSE3.
A class for handling strings.
Definition: OFString.h:114
bool supportsSSE41()
Returns whether the CPU supports SSE4.1.
A class for querying information about the system.
Definition: OFSystemInfo.h:27
bool supportsAVX2()
Returns whether the CPU supports AVX2.
The root class for all other classes inside ObjFW.
Definition: OFObject.h:379
bool supportsSSSE3()
Returns whether the CPU supports SSSE3.
bool supportsSSE2()
Returns whether the CPU supports SSE2.
nullable OFString * CPUVendor()
Returns the vendor of the CPU.
Definition: OFSystemInfo.m:309
bool supportsAVX()
Returns whether the CPU supports AVX.
bool supportsSSE()
Returns whether the CPU supports SSE.
bool supportsMMX()
Returns whether the CPU supports MMX.
bool supportsSSE42()
Returns whether the CPU supports SSE4.2.
OFString * userDataPath()
Returns the path where user data for the application can be stored.
Definition: OFSystemInfo.m:149