I\'m looking for a way to measure microsecs in C++/Windows.
I read about the \"clock\" function, but it returns only milliseconds...
Is there a way to do it?
I guess there's nothing wrong with the QuerPerformance* answer already given: the question was for a Windows-specific solution, and this is it. For a cross-platform C++ solution, I guess boost::chrono makes most sense. The Windows implementation uses the QuerPerformance* methods, and you immediately have a Linux and Mac solution too.