]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - pr_comp.h
fix screenshot prefix updates on gamedir change
[xonotic/darkplaces.git] / pr_comp.h
index eab88b50020f9b147b0ca35bee2d773a8210e74d..0ffe578c726d21126d96385bb1eb8ee8bc7225e9 100644 (file)
--- a/pr_comp.h
+++ b/pr_comp.h
@@ -164,10 +164,16 @@ typedef struct mfunction_s
        int             locals;                         // total ints of parms + locals
 
        // these are doubles so that they can count up to 54bits or so rather than 32bit
+       double  tprofile;           // realtime in this function
+       double  tbprofile;          // realtime in builtins called by this function (NOTE: builtins also have a tprofile!)
        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  tprofile_total;         // runtime (NOTE: tbprofile_total makes no real sense, so not accumulating that)
+       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