[LinuxBIOS] Is there sched_clock equivalent in LB?
Li-Ta Lo
ollie at lanl.gov
Thu Apr 27 00:05:00 CEST 2006
On Wed, 2006-04-26 at 11:39 -0700, 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.
>
There used to be something like POST_TSC which prints the CPU TSC
register value in every printk. I don't know if it is still there.
--
Li-Ta Lo <ollie at lanl.gov>
Los Alamos National Lab
More information about the coreboot
mailing list