Is there a lightweight process timer like Unix time that is included with Windows? Sometimes I just need a rough estimate, without having to exit the real profiler. While I could collapse on my own, I would rather use the existing solution.
You can grab the cygwin release at cygwin.org - it has many command line tools that you will find useful on Unix for WIN32.
You can use procmon or just get the "time" from msys / cygwin
I am using the timethis tool from the Windows Resource Kit.
System.Diagnostics.Stopwatch sw = new System.Diagnostics.Stopwatch(); sw.Start(); //do your processing sw.Stop(); Console.WriteLine(sw.ElapsedMilliseconds);
Ctrl-Alt-Delete: Then select "Task Manager" and a tab for processes will appear