Keith Wolcott's suggested:
>Use SysTicksPerSecond() to find the ticks per second.

Joe Wronski suggested:
>Use the sysTicksPerSecond macro.

On Feb 2, Vitaly explained why the former is preferred:
>Developers are discouraged from using the sysTicksPerSecond #define.
>Instead, use the function SysTicksPerSecond().  This will ensure that
>if/when the ticks per second changes on a newer platform, your app will
>continue to obtain the correct value from the system.  For a slight
>optimization, you can save the result to a global variable (if globals are
>available) at start of execution so you won't have to call the function
>every time (in cases where this value is used frequently).


-
Danny Epstein, Applied Thought Corporation
Have friends with Palm organizers? Get BeamBooks!
http://www.appliedthought.com/beambooks

Reply via email to