30.09.2011, 13:50
(
Последний раз редактировалось Rachael; 30.09.2011 в 14:09.
Причина: gramar
)
does anyone else get results like this?
or can you help me to find the function being called in the CallLocalFunction that is taking so long?
CallLocalFunction features regularly in most of the includes
i've tried putting
pawno/include/streamer.inc
etc
in the profiler.cfg, which was a long shot, because I guess the includes are only read during compiling.
I have been able to eliminate the irc and mapandreas include, because I can make the compiler skip them by commenting out a define, but the other includes are burried too deep in the script.
here are the includes, in case thats relevant.
#include <a_samp>
#include <sscanf2>
#include <streamer>
#include <irc>
#include <a_npc>
#include <zcmd>
#include <mapandreas>
#include <foreach>
#include <YSI\y_timers>
or can you help me to find the function being called in the CallLocalFunction that is taking so long?
Код:
CallLocalFunction 26 1706717 44374652 30.78 Streamer_OnGameModeInit 1 18501457 18501457 12.83 IRC_OnGameModeInit 1 18501444 18501444 12.83 zcmd_OnGameModeInit 1 18501429 18501429 12.83 Itter_OnGameModeInit 1 18501417 18501417 12.83 OnGameModeInit 1 7423579 7423579 5.15 Timers_OnScriptInit 1 7389589 7389589 5.13 MapAndreas_Init 1 4580016 4580016 3.18 printf 50 51328 2566418 1.78
i've tried putting
pawno/include/streamer.inc
etc
in the profiler.cfg, which was a long shot, because I guess the includes are only read during compiling.
I have been able to eliminate the irc and mapandreas include, because I can make the compiler skip them by commenting out a define, but the other includes are burried too deep in the script.
here are the includes, in case thats relevant.
#include <a_samp>
#include <sscanf2>
#include <streamer>
#include <irc>
#include <a_npc>
#include <zcmd>
#include <mapandreas>
#include <foreach>
#include <YSI\y_timers>