Thread (23 messages) 23 messages, 7 authors, 2010-04-23

Re: Continual reading from the PowerPc time base register is not stable

From: Csdncannon <hidden>
Date: 2010-03-26 02:01:23

I enabled the printing of all values. There is bigger gap between two
reading, it seems isync bring to performance drop.
Could you elaborate what does "closer that 64 tick together" mean?

You can see the attached log, the 0x40 is not always set.

Thanks
Gino

2010/3/26 Segher Boessenkool [off-list ref]
quoted
After trying the new code with "isync" and unsigned long long convertion,
this problem doesn't happen(I tested for several minutes).
Do you now ever get two consecutive time readings that are closer
that 64 tick together?  If not, it's simply hiding the problem.

Do you ever now read a value that does not have the bit with value
0x40 set?


Segher

Attachments

  • log [application/octet-stream] 4466 bytes
  • timebase.c [application/octet-stream] 1643 bytes · preview
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help