mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
[nq] Show sub-millisecond times for serverprofile
Integer milliseconds are a little too coarse when the range is 1-3ms.
This commit is contained in:
parent
8d725a1d0a
commit
bffd0605b7
1 changed files with 3 additions and 2 deletions
|
@ -719,7 +719,8 @@ Host_Frame (float time)
|
|||
{
|
||||
double time1, time2;
|
||||
static double timetotal;
|
||||
int c, m;
|
||||
int c;
|
||||
double m;
|
||||
static int timecount;
|
||||
|
||||
if (!serverprofile->int_val) {
|
||||
|
@ -746,7 +747,7 @@ Host_Frame (float time)
|
|||
c++;
|
||||
}
|
||||
|
||||
Sys_Printf ("serverprofile: %2i clients %2i msec\n", c, m);
|
||||
Sys_Printf ("serverprofile: %2i clients %5.3g msec\n", c, m);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue