+/*! 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)
+ */
+#ifdef __cplusplus
+extern "C"
+#endif
+void Sys_AllowProfiling (qboolean enable);
+
+typedef struct sys_cleantime_s
+{
+ double dirtytime; // last value gotten from Sys_DirtyTime()
+ double cleantime; // sanitized linearly increasing time since app start
+}
+sys_cleantime_t;
+
+double Sys_DirtyTime(void);
+
+void Sys_ProvideSelfFD (void);