]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - sys.h
oops, this is in the server VM
[xonotic/darkplaces.git] / sys.h
diff --git a/sys.h b/sys.h
index 42838e319f9b658e4bba3ae6840303e799e34031..23f16b2781ae1440652216855e962a92a597e7cc 100644 (file)
--- a/sys.h
+++ b/sys.h
@@ -70,6 +70,12 @@ void Sys_PrintToTerminal(const char *text);
 void Sys_Shutdown (void); //INFO: This is only called by Host_Shutdown so we dont need testing for recursion
 void Sys_Quit (int returnvalue);
 
+// on some build/platform combinations (such as Linux gcc with the -pg
+// profiling option) this can turn on/off profiling, used primarily to limit
+// profiling to certain areas of the code, such as ingame performance without
+// regard for loading/shutdown performance (-profilegameonly on commandline)
+void Sys_AllowProfiling (qboolean enable);
+
 double Sys_DoubleTime (void);
 
 char *Sys_ConsoleInput (void);