
31 Mar
2009
31 Mar
'09
3:10 a.m.
so if we were to document things, it should read like this: - CONFIG_SYS_HZ is required to be 1000 - get_ticks() / get_tbclk() should be deprecated -- use get_timer() instead - get_timer(X) returns the number of milliseconds since the last call to reset_timer(), minus X (which is in milliseconds too)
is there any reason to keep ticks/tbclk around ? looking at consumers of these functions, they seem to re-implement the get_timer() logic anyways. -mike