[LinuxBIOS] Is there sched_clock equivalent in LB?

Richard Smith smithbone at gmail.com
Thu Apr 27 01:56:00 CEST 2006

On 4/26/06, Daniel Parthey <pada at 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

More information about the coreboot mailing list