lkml.org 
[lkml]   [2005]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[RFC] Generic Timeofday Subsystem Simulator (v1)
From
Date
All,
At Roman's prodding, and inspired by Dave Mills' simulator, I've
scratched out a pretty simple userspace simulator for my timeofday and
NTP changes.

The project is attached. It is pretty simple right now and if you have
any suggestions for changes, please let me know.

To use it:
1. Download my timeofday patches (or just the cumulative one) and apply
them to a current git tree.
2. Untar the simulator.
3. Run ./generate.sh <path to patched kernel tree>
4. Run make
5. Run ./todsim <offset> <ppm skew>

Pretty easy. It will output a whole lot of data providing:

<simulator time> <kernel time> <hardware value> <offset> <ppm adj>

Its not terribly interesting at the moment, but hopefully folks can play
with it and make suggestions for improvements to the simulator,
timeofday code or the ntp changes.

thanks
-john
[unhandled content-type:application/x-bzip-compressed-tar]
\
 
 \ /
  Last update: 2005-10-14 04:12    [W:1.064 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site