[LinuxBIOS] Is there sched_clock equivalent in LB?

Ronald G Minnich rminnich at lanl.gov
Thu Apr 27 05:24:17 CEST 2006


Eric Poulsen wrote:
> I was going to hack LB a bit, and add a timestamp, just like you see in 
> the newer Linux kernels, to look for potential bottlenecks specific to 
> 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.
> 
Look at ollie's serial_post. He added a tsc counter some time ago.

thanks

ron




More information about the coreboot mailing list