lkml.org 
[lkml]   [2003]   [Jan]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] improved boot time TSC synchronization
Jim Houston wrote:
> + * t0 ---\
> + * ---\
> + * --->
> + * tm
> + * /---
> + * /---
> + * t1 <---
> + *
> + *
> + * The goal is to adjust the slave's TSC such that tm falls exactly half-way
> + * between t0 and t1.

It looks like not only can you synchronise with a certain accuracy,
you can determine an upper bound on that accuracy (assuming the
underlying CPU clocks are locked).

Maybe that figure could be put into /proc/cpuinfo?

As well as being an interesting value, it may be useful for programs
to know the effective accuracy of `rdtsc'.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.036 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site