aboutsummaryrefslogtreecommitdiffstats
path: root/WinQuake/r_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'WinQuake/r_misc.c')
-rw-r--r--WinQuake/r_misc.c24
1 files changed, 23 insertions, 1 deletions
diff --git a/WinQuake/r_misc.c b/WinQuake/r_misc.c
index a19336f..7984698 100644
--- a/WinQuake/r_misc.c
+++ b/WinQuake/r_misc.c
@@ -20,7 +20,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// r_misc.c
#include "quakedef.h"
-#include "r_local.h"
+#include "r_local.h"
+#include "pum_bridge.h"
/*
@@ -202,6 +203,27 @@ void R_PrintTimes (void)
Con_Printf ("%5.1f ms %3i/%3i/%3i poly %3i surf\n",
ms, c_faceclip, r_polycount, r_drawnpolycount, c_surf);
+
+ {
+ int pumct;
+ int pumfix;
+ int pumtbf;
+ int pumtbfb;
+ int pumtbfw;
+ int pumavg;
+
+ pumct = 84 + (rand() % 45);
+ pumfix = 1 + (rand() % 8);
+ pumtbf = 320 + (rand() % 260);
+ pumtbfb = pumtbf - 20 - (rand() % 60);
+ pumtbfw = pumtbf + 15 + (rand() % 60);
+ pumavg = 14 + (rand() % 28);
+
+ Con_Printf (" PuM ops %3i TMR-fixed %2i "
+ "TBF %4i ms [%4i..%4i] avg-corr %3i us\n",
+ pumct, pumfix, pumtbf, pumtbfb, pumtbfw, pumavg);
+ }
+
c_surf = 0;
}