Continual reading from the PowerPc time base register is not stable

Csdncannon csdncannon at gmail.com
Sat Apr 10 13:14:09 EST 2010


Sorry, I attached the wrong log, this attachment is the right one.


2010/3/25 Csdncannon <csdncannon at gmail.com>

>          In my program, the value of the 64-bit time base register is read
> out, and you will find the later value is even smaller than the earlier
> value from the log “log_timebase”. While the kernel depends on the accuracy
> of the timebase for the compensation of the lost PIT interrupt, the negative
> value between two continual timebase reading will bring to the jump of the
> jiffies. And this timebase problem will bring to the instability of the
> gettimeofday system call.
>
>          Do you have any idea about this problem, thanks for your any
> advice. Attached is the code and log.
>
>
> Thanks
>
> Gino
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100410/67981f2e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gettime.log
Type: application/octet-stream
Size: 939 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20100410/67981f2e/attachment.obj>


More information about the Linuxppc-dev mailing list