Messages in this thread |  | | Date | Wed, 27 Aug 2008 09:42:30 +0200 | | From | Ingo Molnar <> | | Subject | Re: [PATCH] x86: printk_time to use tsc before cpu_clock is ready |
| |
* Yinghai Lu <yhlu.kernel@gmail.com> wrote:
> +static unsigned long long tsc_clock(int cpu) > +{ > + unsigned long long t; > + > + rdtscll(t); > + > + return t; > +}
hm, i'm not sure i like the whole direction - this reintroduces printk_clock in essence.
how about initializing cpu_clock() sooner, so that printk timestamps start ticking as soon as possible?
Ingo
|  |