Is there a platform-independent way to measure time up to micro seconds using C standard library?
time() is standard for practically all C runtime libraries, but has only 1.0 second resolution. In C++ there are the BOOST ptime microsec_clock::universal_time() and ptime microsec_clock::local_time() functions.
C++
ptime microsec_clock::local_time()