autosmp: use cpufreq_get and a counter instead of time functions