A library to detect information about host CPU
3.39 MB
built 2026-10-13 06:26:05 GMT
Description
cpuinfo is a library to detect essential for performance
optimization information about host CPU.
Features
* Cross-platform availability:
* Linux, Windows, macOS, Android, and iOS operating systems
* x86, x86-64, ARM, and ARM64 architectures
* Modern C/C++ interface
* Thread-safe
* No memory allocation after initialization
* No exceptions thrown
* Detection of supported instruction sets, up to AVX512 (x86)
and ARMv8.3 extensions
* Detection of SoC and core information:
* Processor (SoC) name
* Vendor and microarchitecture for each CPU core
* ID (MIDR on ARM, CPUID leaf 1 EAX value on x86) for each CPU core
* Detection of cache information:
* Cache type (instruction/data/unified), size and line size
* Cache associativity
* Cores and logical processors (hyper-threads) sharing the cache
* Detection of topology information (relative between logical
processors, cores, and processor packages)
* Well-tested production-quality code:
* 60+ mock tests based on data from real devices
* Includes work-arounds for common bugs in hardware and OS kernels
* Supports systems with heterogenous cores, such as big.LITTLE and Max.Med.Min
* Permissive open-source license (Simplified BSD)
Dependencies
7 totalRequires5
- cmake
- gcc-c++
- make
- rpmlib(CompressedFileNames) <= 3.0.4-1
- rpmlib(FileDigests) <= 4.6.0-1
Provides2
- cpuinfo = 25.11.14-1.gitf858c30.fc45.1
- cpuinfo-devel = 25.11.14-1.gitf858c30.fc45.1
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances
Files
3Name ![]() |
Size |
|---|---|
| 0001-cpuinfo-fedora-cmake-changes.patch | 943.00 B |
| cpuinfo-f858c30.tar.gz | 3.38 MB |
| cpuinfo.spec | 5.47 KB |
Files 1–3 of 3
Component of
buildroots that installed this RPMNo Buildroots
