How to programmatically get the CPU cache page size in C++?
On Win32, GetLogicalProcessorInformation
will give you back a SYSTEM_LOGICAL_PROCESSOR_INFORMATION
which contains a CACHE_DESCRIPTOR
, which has the information you need.
On Win32, GetLogicalProcessorInformation
will give you back a SYSTEM_LOGICAL_PROCESSOR_INFORMATION
which contains a CACHE_DESCRIPTOR
, which has the information you need.