[RFC] Generic Timeofday Subsystem Simulator (v1)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: simulator.tar.bz2
Description: application/bzip-compressed-tar


[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux