ppc: Increase precision of ticks2usec
PATCH 1/1 ppc: Increase precision of ticks2usec
Quoted 10 lines
De : "Wolfgang Denk"
Dear Benoit Monin,
Quoted 4 lines · In message <9454366.19868.1236182927234.JavaMail.www@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.
Quoted 6 lines
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?
Well, that was more some icing on the cake for CONFIG_PRINT_TIME, so you can discard this patch.
Quoted 4 lines
Best regards,
Wolfgang Denk
Sincerely,
Beno?t.
--
Cr?ez votre adresse ?lectronique prenom.nom at laposte.net 1 Go d'espace de stockage, anti-spam et anti-virus int?gr?s.