-
Notifications
You must be signed in to change notification settings - Fork 0
ITikhonov/ghz-osx
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Uses RDTSC processor instruction in a tight loop to measure how much time it takes for CPU to churn a million clock ticks. Then computes clock rate in GHz from this. == Build $ curl -O https://raw.githubusercontent.com/ITikhonov/ghz-osx/master/clockspeed.c $ make clockspeed cc clockspeed.c -o clockspeed == Run $ ./clockspeed 1.4 GHz
About
Shows actual CPU clock speed on OSX
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published