
22 Mar
2013
22 Mar
'13
10:18 p.m.
On 03/22/2013 03:12 PM, Wolfgang Denk wrote:
Dear Stephen,
In message 1363923692-12748-1-git-send-email-swarren@wwwdotorg.org you wrote:
CONFIG_SYS_HZ must be 1000, and get_timer() must therefore return mS. Document this.
"must return mS" ? "mS" means Milli-Siemens, which is a unit of electric conductance and electric admittance. You mean "ms" = milliseconds ...
It seems that's true.
+- CPU timer options:
CONFIG_SYS_HZ
The frequency of the timer returned by get_timer(). This value
MUST be 1000.
This is misleading, or even incorrect. If I read this, I would expect that get_timer() returns 1000. Obviously, this is incorrect. Instead, get_timer() returns timestamp information in millisecond resolution.
That is not what that sentence means.