mudstat.h

src/mudstat.h · 573 B

From the archive Lpmud-CD.03.31beta1.tar.gz

Download the archive   « Back to the archive contents

/*
 * These are some statistics variables that are used if we run -S mode
 */

#ifdef MUDSTAT
#define EXTERN
#else
#define EXTERN extern
#endif
EXTERN 	int	num_move,		/* Number of move_object() */
    		num_mcall,		/* Number of calls to master ob */
		num_fileread,		/* Number of file reads */
		num_filewrite,		/* Number of file writes */
		num_compile;		/* Number of compiles */

#define MUDSTAT_FILE 		"MUDstatistics"
#define MUDSTAT_LOGTIME 	50
#define MUDSTAT_LOGEVAL 	25000

/*
 * Prototypes
 */
void reset_mudstatus();
void print_mudstatus();
int get_millitime();

Site Stats

Snippets: 1791
Codebases: 571