CpuInfo icon indicating copy to clipboard operation
CpuInfo copied to clipboard

Small user-mode utility for identifying and determining CPU features

CpuInfo

This repository contains the code of a small user-mode utility for identifying and determining CPU features. More importantly this repository is dedicated to the extremely lightweight and portable PIF (Processor Information and Features) library, and various pieces from my private architecure specific library I call "baselib", the name shamelessly taken from the EDK2's internal library.

The user-mode utility resembles the same functionality as the example given on MSDN here: https://msdn.microsoft.com/en-us/library/hskdteyh.aspx#Anchor_3

Building

This project uses the compiler-independent CMake build system. Currently this project should compile with the GCC, Clang, and MSVC compilers on Windows. I have not tested compilation under any Linux distributions.

To build simply run CMake to generate build files of your choice. Please see https://cmake.org/cmake-tutorial/ and/or https://cmake.org/runningcmake/ or simply use CLion which integrates with CMake very well.

License

This project is licensed under the Apache 2.0 license.

Additional licenses pertaining to this project can be found under the LICENSES sub-folder.