05-10-2017 09:01 PM
I want to how to get the run time of codes.
For example ,
for(i = 0; i < 10; i++) a = i;
05-11-2017 02:02 AM - edited 05-11-2017 02:03 AM
Are you interested in knowing the execution time of a section of code? Would a simple difference between two Timer () values be enough?
double t0, exeT; tini = Timer (); // Code to test exeT = Timer () - tini;
If not, can you clarify better your question?