Hey, well one way is to have 3 variables.
Make start_time equal to the current timer to begin the count
Then when your finished testing the code
then finally to work out the time passed
the time in milliseconds taken will be stored in the total_time variable. Hope that helps!!
start_time finish_time total_time
Make start_time equal to the current timer to begin the count
start_time=millisecs()
Then when your finished testing the code
finish_time=millisecs()
then finally to work out the time passed
total_time=finish_time-start_time
the time in milliseconds taken will be stored in the total_time variable. Hope that helps!!