summaryrefslogtreecommitdiff
path: root/src/server_status.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server_status.h')
-rw-r--r--src/server_status.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/server_status.h b/src/server_status.h
index 84f7273..58de61c 100644
--- a/src/server_status.h
+++ b/src/server_status.h
@@ -31,6 +31,11 @@
/*
* $Log$
+ * Revision 1.4 2005/06/19 11:44:14 deva
+ * Cleaned up a log of logging.
+ * Fixed server queue (shouldn't happen).
+ * Added user and group lookup.
+ *
* Revision 1.3 2005/05/03 08:31:59 deva
* Removed the error object, and replaced it with a more generic info object.
*
@@ -43,18 +48,23 @@
#ifndef __MIAV_SERVER_STATUS_H__
#define __MIAV_SERVER_STATUS_H__
+#include "info.h"
+
#include <sys/time.h>
-#define BUFFERSIZE 25
+#define BUFFERSIZE 100
+#define UPD 1500
class ServerStatus {
public:
- ServerStatus();
+ ServerStatus(Info *info);
~ServerStatus();
void checkPoint();
private:
+ int frame;
+ Info *info;
unsigned int frametime[BUFFERSIZE];
struct timeval time;
struct timeval oldtime;