How many ms a function took to proceed
#6

Quote:
Originally Posted by jameskmonger
Посмотреть сообщение
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);
You are incorrect, he doesn't specify what he needs it or uses it for. Therefore, I was correct initially.
Reply


Messages In This Thread
How many ms a function took to proceed - by Emre__ - 20.09.2012, 15:54
Re: How many ms a function took to proceed - by Kyle - 20.09.2012, 17:34
Re: How many ms a function took to proceed - by jameskmonger - 20.09.2012, 17:54
AW: How many ms a function took to proceed - by BigETI - 21.09.2012, 10:16
Re: AW: How many ms a function took to proceed - by Kyle - 21.09.2012, 10:17
Re: How many ms a function took to proceed - by Kyle - 21.09.2012, 10:20
AW: How many ms a function took to proceed - by BigETI - 21.09.2012, 10:20

Forum Jump:


Users browsing this thread: 1 Guest(s)