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
- References:
- Prev by Date: [RFC][PATCH 1/12] Reduced NTP rework (part 1)
- Next by Date: [RFC][PATCH 2/12] Reduced NTP rework (part 2)
- Previous by thread: [RFC][PATCH 12/12] generic timeofday x86-64 arch specific changes
- Next by thread: Re: [RFC][PATCH 0/12] Generic Timeofday Subsystem (v B7) (cumulative-i386)
- Index(es):