Hello all,<br><br>I want to calculate the execution time of a program. Say I have a function like below:<br><br>def RepAdd(i):<br>  j = 0<br>  while(j&lt;i):<br>     j += 1<br>  return j<br><br>now I want to calculate the execution time of the function RepAdd when say 10 is passed as an argument. I did come across the module timeit, if that is the module to be used can any one illustrate it using the above program as input. <br>
<br>Thanks<br>Vin<br clear="all"><br><br>