Defined in carb/extras/CpuInfo.h

class CpuInfo

Helper class for gathering and querying CPU information for x86 and x64 CPUs.

On construction this class will query the CPU information provided by CPU ID and then provides helper methods for querying information about the CPU.

Public Functions

inline CpuInfo()


inline bool popcntSupported()

Checks if the popcnt instruction is supported.


True if popcnt is supported, false if it is not supported, or the CPU information is not valid.