What techniques / methods exist for getting sub-millisecond precision timing data in C or C++, and what precision and accuracy do they provide? I\'m looking for methods tha
You may try the following:
struct timeval t; gettimeofday(&t,0x0);
This gives you current timestamp in micro-seconds. I am not sure about the accuracy.