title: Equivalent of gettimeday() for Windows
body: <p>Does anyone know an equivalent function of the <code>gettimeofday()</code> function in Windows environment? I am comparing a code execution time in Linux vs Windows. I am using MS Visual Studio 2010 and it keeps saying, identifier "gettimeofday" is undefined.</p>