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: 39.9 kB Architectures: arm64 amd64