Is this possible?
#2

I like this question. My solution is simply just a guess, but you can try it out. Since PAWN is single threaded, try using RyDeR`'s pawnCompiler and measure the time it takes for the function to be called. I just wrote a small and untested function that can possibly check the amount of time it compiles. Please reply with a result.

pawn Код:
stock measureCompileTime( scriptName[ ] )
{
      static
          s_tick = GetTickCount( )
      ;
      print( compileScript( "scriptfiles", scriptName ) ); // compileScript returns status.
      return GetTickCount( ) - s_tick;
}
Reply


Messages In This Thread
Is this possible? - by Lorenc_ - 17.06.2011, 12:09
Re: Is this possible? - by Cyanide - 17.06.2011, 12:46
Re: Is this possible? - by Babul - 17.06.2011, 13:33
Re: Is this possible? - by Lorenc_ - 18.06.2011, 00:14

Forum Jump:


Users browsing this thread: 1 Guest(s)