gettimeofday stability
Quoted 2 lines
I still object strongly to anything touching the timebase, however.
I'd prefer if it wasn't touched too... I've used it in both the IRQ blocking measurement stuff (yet to be ported to 2.4.x) and the Audio Latency measurement stuff (PPC port of Benno Sennoner's stuff)...
I thought I could rely on TB ;-))
ciao,
Iain.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 4 lines · Iain Sandoe
Quoted 2 lines
I still object strongly to anything touching the timebase, however.
I'd prefer if it wasn't touched too...
As I recall, "touching" the TB simply means reading it and computing elapsed ticks since the last read. I don't remember anything changing the value in the timebase registers (which isn't possible outside of the kernel).
I regularly use the TB for user application event timing, and haven't seen anything abnormal (other than the code I was testing :-).
-- Dan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/