
27 May
2011
27 May
'11
9:33 a.m.
Hi Wolfgang,
On 27/05/11 17:17, Wolfgang Denk wrote:
Dear Graeme Russ,
In message BANLkTi=Nj09smJ+tTuE4p=rWFz=r9GBhwQ@mail.gmail.com you wrote:
I think we should - If CONFIG_SYS_HZ _MUST_ be 1000 anyway, what is the point. Also, get_timer() utilisation as it stands for the most part already assumes a 1ms time base. Maybe we should change get_timer() to get_ms_timer() to avoid any ambiguity
No. At least not unless you also provide other get_<some unit>_timer() functions which we most likely will not do.
I think you will find most platforms will support get_us_timer() trivially. Those that can't can use get_ms_timer() * 1000 (plus taking wrapping into consideration)
Regards,
Graeme