Subj : high resolution time function under visual c++ environment? To : comp.programming From : wavelet Date : Mon Aug 01 2005 02:17 pm Hi, I am searching one time function under windows2000 with Visual C++ environment. Is there function available like gethrtime() in unix? Thx. #include main() { hrtime_t start, end; int i, iters = 100; start = gethrtime(); for (i = 0; i < iters; i++) getpid(); end = gethrtime(); printf("Avg getpid() time = %lld nsec\n", (end - start) / iters); } RGS, Wavelet .