I need to measure two separate events in time and compare them (not in the same application), so I would like to know the timestamp from the same reference (different applications on the same machine).
What's the simplest way of doing this on a Windows system? I've read about gettimeofday but that seems to be a Unix-specific function.
Also I don't want to use boost or any other external library (windows libraries are fine).