Dear Benoit Monin,

In message <9454366.19868.1236182927234.javamail....@wwinf8202> you wrote:
> 
> The tick of some PowerPC cpu is running at high frequency and
> it can be used to get microsecond precision from it. Make use
> of div64 to achieve this precision in ticks2usec.

Which problem are you trying to fix?

Where exactly do we need very high accuracy?

What is the overhead of using do_div() versus the old, simple code?

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: w...@denx.de
On the subject of C program indentation: "In My Egotistical  Opinion,
most  people's  C  programs  should be indented six feet downward and
covered with dirt."                               - Blair P. Houghton
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to