Tools to Measure Run Time
-
Hello, I am running a simple C console application in VS.net. I want to be able to measure the run time between certain lines of code, and also the time required to run the entire application, etc. Are there any tools/libraries that I can add to my program to do this? Will the debugger allow me to do some of this? :} Jerry
-
Hello, I am running a simple C console application in VS.net. I want to be able to measure the run time between certain lines of code, and also the time required to run the entire application, etc. Are there any tools/libraries that I can add to my program to do this? Will the debugger allow me to do some of this? :} Jerry
In the viual studio there is menu called profie. it can be used for finding the time taken by entire application, time spend in each function etc. check http://www.codersource.net/win32_Debugging_VC.html[^] Simply if u want to find the time taken for a single/group of statement, put OutputDebugString() before and after that statement. Then using the debug viewer u can get the time.. nave