I'm doing my master thesis on radar signal generation and to create a scenario, I need to have a timing in execution of my C-script of microseconds resolution. By using the time.h I can only get to a resolution of 1 millisecond. I know it is feasible in linux, but the use of windows is here mandatory. A major problem with windows is that the resolution varies too much if you have different processes running.
I have been thinking about two different solutions:
1. Could I change the priority of processes running in order to have the processors priority for my software?
2. Is it possible to boot in MSDOS (on a XP PC) and acces the processors clock? Since the processor clock is 2.53GHz it means theoretically a nanosecond resolution.
In this way I could use the core for my programm?
3. Using a FPGA or PIC for the timing?
Could anybody give me advise on this topic?
Thanks!
Kev