On 4/26/06, Daniel Parthey pada@chemonline.de wrote:
Eric Poulsen schrieb:
my MLB. The kernel printk uses sched_clock() to get the current time. Is there an equivalent call in LB? I've looked through the code base for files / code that has *clock* or *time* or something similar, but without much luck.
I suppose MLB means VIA EPIA ML Board?
On Intel compatible Pentium (or higher) boards like VIA EPIA, you could read the Time Stamp Counter (TSC) CPU register which tells you the number
cpu/x86/tsc/delay_tsc.c should have the info you need
-- Richard A. Smith
-- Richard A. Smith