Bochs/bochs/iodev/slowdown_timer.h
Bryce Denney daf2a9fb55 - add RCS Id to header of every file. This makes it easier to know what's
going on when someone sends in a modified file.
2001-10-03 13:10:38 +00:00

37 lines
639 B
C++

/////////////////////////////////////////////////////////////////////////
// $Id: slowdown_timer.h,v 1.5 2001-10-03 13:10:38 bdenney Exp $
/////////////////////////////////////////////////////////////////////////
//
#if BX_USE_SLOWDOWN_TIMER
class bx_slowdown_timer_c {
private:
struct {
Bit64u start_time;
Bit64u start_emulated_time;
Bit64u lasttime;
int timer_handle;
float MAXmultiplier;
Bit64u Q; // (Q (in seconds))
} s;
public:
bx_slowdown_timer_c();
int init();
static void timer_handler(void * this_ptr);
void handle_timer();
};
extern bx_slowdown_timer_c bx_slowdown_timer;
#endif