hi, i'm working on this project which is basically to implement the various travelling salesman heuristics.
could anyone please tell me how i can time how long a piece of code takes to execute?
i have tried the Timer class but from my understanding, that is for setting alerts and scheduling... i just need a plain timer to start at the top of the code and finish at the end...
any help, would be MUCH APPRECIATED!!
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL