I don't know in which version of C# you were using "the old clock() routine"
but it must've been a very ancient one :-)
Try the System.Diagnostics.Stopwatch class (if you are using .NET 2.0) or
plain DateTime start = DateTime.Now; long timeElapsed =
start.Subtract(DateTime.Now).TotalMilliseconds; or QueryPerformanceCounter
from WinAPI, depending on your needs for timing resolution.
"rayreeves
re****@verizon.net>" <ray<mondwrote in message
news:EC2xh.991$xu4.286@trndny04...
How do I time my code? I can't find the old clock() routine.
Ray