commented out the diagnostic code, no use using 10 jumps for nothing, and it will take less time to re-enable it in the future than using those if(0)

This commit is contained in:
instinc 2002-03-06 01:19:50 +00:00
parent 9d112c44c2
commit 32c40d0b55

View File

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
// $Id: slowdown_timer.cc,v 1.8 2001-10-11 13:01:27 yakovlev Exp $ // $Id: slowdown_timer.cc,v 1.9 2002-03-06 01:19:50 instinc Exp $
///////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////
// //
#include "bochs.h" #include "bochs.h"
@ -117,19 +117,21 @@ bx_slowdown_timer_c::handle_timer() {
s.lasttime=thistime; s.lasttime=thistime;
//Diagnostic info: //Diagnostic info:
#if 0
if(wanttime > (totaltime+REALTIME_Q)) { if(wanttime > (totaltime+REALTIME_Q)) {
if(totaltime > total_emu_time) { if(totaltime > total_emu_time) {
if(0) printf("Solving OpenBSD problem.\n"); printf("Solving OpenBSD problem.\n");
} else { } else {
if(0) printf("too fast.\n"); printf("too fast.\n");
} }
} else { } else {
if(totaltime > total_emu_time) { if(totaltime > total_emu_time) {
if(0) printf("too slow.\n"); printf("too slow.\n");
} else { } else {
if(0) printf("sometimes invalid state, normally okay.\n"); printf("sometimes invalid state, normally okay.\n");
} }
} }
#endif // Diagnostic info
} }
#endif #endif