
22 Mar
2013
22 Mar
'13
10:12 p.m.
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 ...
+- 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.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Crash programs fail because they are based on the theory that, with
nine women pregnant, you can get a baby a month. - Wernher von Braun