+ 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
2 Respuestas
+ 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