POSIX:sys/times Favorite site Stackoverflow: How to use sys/time.h in window? Stackoverflow: What should I use to replace gettimeofday() on Windows? Stackoverflow: how to use gettimeofday() or something equivalent with Visual Studio C++ 2008?