[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: precision timer?




> gettimeofday has 40 us precision on ETRAX 100 LX using a fairly new
> kernel. Note that meassuring time from userspace gives unpredictable
> results since the kernel may choose to run other processes between
> your calls to gettimeofday.


If you set high priority of your process the risc for interruption will 
decrease. However, if so, remeber to nanosleep() sometimes.

/Ronny