Reimplement cpu prescaler system using frequency instead of divider.