X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=pr_comp.h;h=45cc9f13b538254245620e93a4454c917e41edd4;hb=44eca4096e55c7625b8f8e377806aa7f8365b96b;hp=912491e6ffd9334ed9a3663e9708a8e40d9bf467;hpb=6824d8ddc8a43cae0609be5bbe8bee01fa1a4225;p=xonotic%2Fdarkplaces.git diff --git a/pr_comp.h b/pr_comp.h index 912491e6..45cc9f13 100644 --- a/pr_comp.h +++ b/pr_comp.h @@ -163,9 +163,14 @@ typedef struct mfunction_s int parm_start; int locals; // total ints of parms + locals - int profile; // runtime - int builtinsprofile; // cost of builtin functions called by this function - int callcount; // times the functions has been called since the last profile call + // these are doubles so that they can count up to 54bits or so rather than 32bit + double profile; // runtime + double builtinsprofile; // cost of builtin functions called by this function + double callcount; // times the functions has been called since the last profile call + double totaltime; // total execution time of this function DIRECTLY FROM THE ENGINE + double profile_total; // runtime + double builtinsprofile_total; // cost of builtin functions called by this function + int recursion; int s_name; int s_file; // source file defined in