how to check the execution time of any program that is execute
-
hi, how to find the execution time(time taken to execute) of any program in vc++ please help me out.
-
hi, how to find the execution time(time taken to execute) of any program in vc++ please help me out.
Hi Call GetTickCount when your application starts. Refer MSDN for GetTickCount. Call GetTickCount again when your application stops. Now substract the both to get the execution time. This will work fine if your application dont continuously execute for more than 49 days. If so you will have to do some extra work. Regards The Best Relligion is Science. Once you understand it, you will know God.
-
Hi Call GetTickCount when your application starts. Refer MSDN for GetTickCount. Call GetTickCount again when your application stops. Now substract the both to get the execution time. This will work fine if your application dont continuously execute for more than 49 days. If so you will have to do some extra work. Regards The Best Relligion is Science. Once you understand it, you will know God.
thanks a lot for your suggestion. but i want find the time exactly, so i need to find number exection cycle of the program. with this execution cycle i can find the time taken by the code. so please can you help me out in find execution cycle any code. Regards and Thanking you sham