[syslinux] timestamp in COM32 module
Tomas Karasek
tom.to.the.k at gmail.com
Thu Sep 2 07:35:26 PDT 2010
Hello,
I am writing a simple module for measuring boot time. I would like to
get a timestamp when syslinux is run and then pass it as kernel
parameter and work with the timestamp later..
It seems that POXIS time.h functions are not implemented yet(?) in
COMBOOT. I was reading this
http://www.linuxfordevices.com/c/a/Linux-For-Devices-Articles/Benchmarking-boot-latency-on-x86/
earlier today and it sounds good, but I would be really better off with
seconds since beginning of epoch, plus I am not sure how the TSC count
behaves on multicore.
Is there some other way to get (some kind of) timestamp in COM32
environment besides RDTSC?
Best Regards,
Tomas Karasek
More information about the Syslinux
mailing list