Messages in this thread | | | Subject | [RFC] Generic Timeofday Subsystem Simulator (v1) | From | john stultz <> | Date | Thu, 13 Oct 2005 19:08:18 -0700 |
| |
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] | |