Profiling code and mvdsv-breakage-limitation stuff
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@655 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
9db52890b2
commit
62eeb19311
1 changed files with 11 additions and 1 deletions
|
@ -1282,7 +1282,7 @@ void CL_Packet_f (void)
|
|||
int i, l;
|
||||
char *in, *out;
|
||||
netadr_t adr;
|
||||
|
||||
|
||||
if (Cmd_Argc() != 3)
|
||||
{
|
||||
Con_TPrintf (TLC_PACKET_SYNTAX);
|
||||
|
@ -1309,6 +1309,7 @@ void CL_Packet_f (void)
|
|||
|
||||
Con_Printf ("Sending realip packet\n");
|
||||
}
|
||||
cls.lastarbiatarypackettime = Sys_DoubleTime(); //prevent the packet command from causing a reconnect on badly configured mvdsv servers.
|
||||
|
||||
in = Cmd_Argv(2);
|
||||
out = send+4;
|
||||
|
@ -2417,6 +2418,9 @@ void Host_Frame (float time)
|
|||
static double time3 = 0;
|
||||
int pass1, pass2, pass3;
|
||||
// float fps;
|
||||
|
||||
RSpeedLocals();
|
||||
|
||||
if (setjmp (host_abort) )
|
||||
return; // something bad happened, or the server disconnected
|
||||
|
||||
|
@ -2426,7 +2430,9 @@ void Host_Frame (float time)
|
|||
#endif
|
||||
|
||||
#ifndef CLIENTONLY
|
||||
RSpeedRemark();
|
||||
SV_Frame(time);
|
||||
RSpeedEnd(RSPEED_SERVER);
|
||||
#endif
|
||||
|
||||
#ifdef WEBCLIENT
|
||||
|
@ -2508,6 +2514,8 @@ void Host_Frame (float time)
|
|||
NET_Poll();
|
||||
#endif
|
||||
|
||||
RSpeedRemark();
|
||||
|
||||
if (cls.downloadtype == dl_none && !*cls.downloadname && cl.downloadlist)
|
||||
{
|
||||
CL_RequestNextDownload();
|
||||
|
@ -2546,6 +2554,8 @@ CL_RequestNextDownload();
|
|||
}
|
||||
}
|
||||
|
||||
RSpeedEnd(RSPEED_CLIENT);
|
||||
|
||||
// update video
|
||||
if (host_speeds.value)
|
||||
time1 = Sys_DoubleTime ();
|
||||
|
|
Loading…
Reference in a new issue