Hi, I'm interested in measuring a specific point in time down to the nanosecond using c++ in windows. Is this possible? If it isn't, is it possible to get the specific time in microseconds at least?

.NET has this http://msdn.microsoft.com/en-us/library/system.diagnostics.stopwatch.aspx but I don't know if you wanted win32/unmanaged (you'd need the HighResolution on -- I'm trying to find the order or magnitude of the smallest timestep -- looks like it's 100 nano)

Elapsed = 00:00:00.0052618

Though I'm sure the figure it gives comes with a little bit of wiggle room as most things that rely on ms level measurements in Windows do (due to scheduling and interrupts and many other things that I'm either rusty on or ignorant of).