Add the initial work of SampleRate algo. (r255522)
* it's ported from ath_rate_sample.
* _complete_ and _update_ not done yet.