summaryrefslogtreecommitdiff
path: root/src/server_status.h
diff options
context:
space:
mode:
authordeva <deva>2005-06-19 11:44:14 +0000
committerdeva <deva>2005-06-19 11:44:14 +0000
commit52fd913be8b044f1d064973c53b4467e5bd153fe (patch)
tree807ac3d85c9af0fe81bd88c22f6fe32c3c7af25b /src/server_status.h
parent60053525996c751ea9cdeddebbea8fa98e0c23a3 (diff)
Cleaned up a log of logging.
Fixed server queue (shouldn't happen). Added user and group lookup.
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;