lockstep.cpp File Reference


Detailed Description

Contains the code for the lockstep debugging mechanism.

X-1.4 Camiel Vanderhoeven 18-APR-2007 Faster lockstep mechanism (send info 50 cpu cycles at a time)

X-1.3 Camiel Vanderhoeven 31-MAR-2007 Added old changelog comments.

X-1.2 Camiel Vanderhoeven 28-FEB-2007 Fixed a silly bug (forgot to declare nAddressSize)

X-1.1 Camiel Vanderhoeven 28-FEB-2007 Created to support lockstep mechanism.

Author:
Camiel Vanderhoeven (camiel@camicom.com / http://www.camicom.com)

Definition in file lockstep.cpp.

#include "StdAfx.h"
#include "lockstep.h"

Go to the source code of this file.

Functions

void lockstep_init ()
void lockstep_sync_m2s (char *s)
void lockstep_sync_s2m (char *s)
void lockstep_compare (char *s)
void lockstep_send (char *s)
void lockstep_receive (char *s, int sz)

Variables

int ls_Socket
char ls_IP [30]
char cmpbuffer [10000]


Function Documentation

void lockstep_compare ( char *  s  ) 

Definition at line 165 of file lockstep.cpp.

References cmpbuffer, and ls_Socket.

Referenced by CSystem::SingleStep().

void lockstep_init (  ) 

Definition at line 56 of file lockstep.cpp.

References INVALID_SOCKET, ls_IP, and ls_Socket.

Referenced by main().

void lockstep_receive ( char *  s,
int  sz 
)

Definition at line 238 of file lockstep.cpp.

References ls_Socket.

Referenced by CTraceEngine::run_script().

void lockstep_send ( char *  s  ) 

Definition at line 214 of file lockstep.cpp.

References ls_Socket.

Referenced by CTraceEngine::run_script().

void lockstep_sync_m2s ( char *  s  ) 

Definition at line 111 of file lockstep.cpp.

References ls_Socket.

Referenced by CSystem::SingleStep().

void lockstep_sync_s2m ( char *  s  ) 

Definition at line 137 of file lockstep.cpp.

References ls_Socket.


Variable Documentation

char cmpbuffer[10000]

Definition at line 163 of file lockstep.cpp.

Referenced by lockstep_compare().

char ls_IP[30]

Definition at line 52 of file lockstep.cpp.

Referenced by CSerial::init(), and lockstep_init().

int ls_Socket


SourceForge.net Logo
Project space on SourceForge.net