20.09.2012, 17:54
Wrong. That will get the time between the start and end of the function.
pawn Код:
new time = gettime();
function();
new time2 = gettime();
printf("%s took %d ms.", "function()", time2-time);