summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-14 19:30:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-14 19:30:42 +0000
commit4652f73b9e7a0f41ad4c91353e0ac39ef838f6cb (patch)
treea8774e8624dd302e9b01652501592b7e4715d820 /include
parent1a59b542f90c10799085ad2b2d8aed2a6c378acf (diff)
CPU Usage percent in stats z! yay!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5988 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 64489aaf6..f2ccc081a 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -119,6 +119,14 @@ class serverstats : public classbase
*/
unsigned long BoundPortCount;
+ /** Cpu usage at last sample
+ */
+ timeval LastCPU;
+
+ /** Time last sample was read
+ */
+ timeval LastSampled;
+
/** The constructor initializes all the counts to zero
*/
serverstats()