git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5387
d7cf8633-e32d-0410-b094-
e92efae38249
Con_Print("prvm_profile <program name>\n");
return;
}
-
+
PRVM_Begin;
if(!PRVM_SetProgFromString(Cmd_Argv(1)))
return;
num++;
best->profile = 0;
best->builtinsprofile = 0;
+ best->callcount = 0;
}
} while (best);
PRVM_SetProg(i);
PRVM_Crash();
}
-
+
prog = oldprog;
}
extern cvar_t prvm_boundscheck;
extern cvar_t prvm_traceqc;
extern int PRVM_ED_FindFieldOffset (const char *field);
-extern ddef_t* PRVM_ED_FindGlobal(const char *name);
+extern ddef_t* PRVM_ED_FindGlobal(const char *name);
void PRVM_ExecuteProgram (func_t fnum, const char *errormessage)
{
dstatement_t *st;