Is there any function in cpp to calculate the time taken for execution of the program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there any function in cpp to calculate the time taken for execution of the program

I want to analyze my logic .so I want to know how much time the compiler takes

9th Aug 2019, 3:20 PM
abishek sriram
abishek sriram - avatar
1 Answer
+ 10
abishek sriram this two link help you to know about this. https://stackoverflow.com/questions/22387586/measuring-execution-time-of-a-function-in-c https://www.geeksforgeeks.org/measure-execution-time-function-cpp/amp/#referrer=https://www.google.com if you want to know the algorithm execution time then that can be get by using different techniques like asymptomatic notation, recurrence relation, and so on
9th Aug 2019, 3:56 PM
GAWEN STEASY
GAWEN STEASY - avatar