X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=sys.h;fp=sys.h;h=908c9e5f2f5509d9f1a0a55dfb2ef7309ee7eac6;hp=37fcc8044fb87051d91eb7cfbd3e3715f7bfe2c1;hb=cfee52a1ec9db338098789cae89ae5cf1f7a6fbf;hpb=e267b18ea5e1e6ab71b14db5a12a803cd0554421 diff --git a/sys.h b/sys.h index 37fcc804..908c9e5f 100644 --- a/sys.h +++ b/sys.h @@ -84,7 +84,14 @@ void Sys_Quit (int returnvalue); */ void Sys_AllowProfiling (qboolean enable); -double Sys_DoubleTime (void); +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);