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

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

From: Segher Boessenkool <hidden>
Date: 2010-03-26 08:52:49

[please do not top-post]
quoted
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?
I enabled the printing of all values. There is bigger gap between two
reading, it seems isync bring to performance drop.
Yes exactly, which is to be expected.
Could you elaborate what does "closer that 64 tick together" mean?
It means I cannot type -- "closer than 64 ticks".

My concern was that the sync;isync thing might slow down things
so much that you always get readings 64 or more cycles apart.
But you don't.
You can see the attached log, the 0x40 is not always set.
Yes indeed.  Could you post the relevant piece if disassembly from
your original binary (the one that has the problem)?  Or send me the
binary (not to the mailing list), I'll do it then.


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help