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"
@ -117,19 +117,21 @@ bx_slowdown_timer_c::handle_timer() {
s.lasttime=thistime;
//Diagnostic info:
#if 0
if(wanttime > (totaltime+REALTIME_Q)) {
if(totaltime > total_emu_time) {
if(0) printf("Solving OpenBSD problem.\n");
printf("Solving OpenBSD problem.\n");
} else {
if(0) printf("too fast.\n");
printf("too fast.\n");
}
} else {
if(totaltime > total_emu_time) {
if(0) printf("too slow.\n");
printf("too slow.\n");
} else {
if(0) printf("sometimes invalid state, normally okay.\n");
printf("sometimes invalid state, normally okay.\n");
}
}
#endif // Diagnostic info
}
#endif