Unroll loop in cpu_freq
Unrolling the loop in getFrequencyString makes it faster. It cannot hurt to optimize this completed function. I have also removed some string pointers since they are not necessary.