31
µTasker general / Higher resolution Timers in uTasker simulator
« on: June 07, 2009, 01:49:54 PM »
Hi Mark,
I'm starting to use the utasker simulator to produce standalone simulators that are simulating other parts of my hardware. (Like Modbus slaves etc). This is allowing me to test other parts of my system. One limitiation I'm running into is that lask of support for hardware Timers in the windows simulator, my understanding is that hardware timers are mapped to the basic system tick which I have reduced to 10ms, in config.h
#define TICK_RESOLUTION 10
It seems that the basic windows Tick rate can be easily modified from its default 10ms to 1ms see http://technet.microsoft.com/en-gb/sysinternals/bb897569.aspx I was wondering how easy it would be to modify uTasker so that in its simulator it could support a higher resolution timers, thus approximating the real hardware more closely.
Cheers
Martin
I'm starting to use the utasker simulator to produce standalone simulators that are simulating other parts of my hardware. (Like Modbus slaves etc). This is allowing me to test other parts of my system. One limitiation I'm running into is that lask of support for hardware Timers in the windows simulator, my understanding is that hardware timers are mapped to the basic system tick which I have reduced to 10ms, in config.h
#define TICK_RESOLUTION 10
It seems that the basic windows Tick rate can be easily modified from its default 10ms to 1ms see http://technet.microsoft.com/en-gb/sysinternals/bb897569.aspx I was wondering how easy it would be to modify uTasker so that in its simulator it could support a higher resolution timers, thus approximating the real hardware more closely.
Cheers
Martin