Windows port of /usr/bin/time?

Use timethis from the Win2K resource kit.


I have created a simple Windows program called timemem.exe that behaves similarly to /usr/bin/time on Linux/Mac OS X, and will show similar statistics, such as elapsed time, user and kernel CPU time, and maximum working set size in memory used by another Win32 process. See:

http://homepage.mac.com/jafingerhut/files/code/code.html


If you want time to use it as a benchmark utility, the Windows 2003 Resource Kit has Timeit.exe which does the same.


You could always install Cygwin which will give you the UNIX time command. It is pretty useful to have Cygwin installed anyway.

By you asking for a clean port or version, I don't think Cygwin would be acceptable. The only thing I have found is this for custom code to compile on Windows. As I didn't find any links where this has been set up as the time command, I don't know that you could get this to work unless you wanted to program it yourself.