The Sys::CPU Perl offers an API to get the number of CPUs and its speed and type. It reports numbers, type, and clockspeed of CPUs.
Installed Size: 96.3 kB Architectures: arm64 amd64