From 4652f73b9e7a0f41ad4c91353e0ac39ef838f6cb Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 14 Dec 2006 19:30:42 +0000 Subject: CPU Usage percent in stats z! yay! git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5988 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/inspircd.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') 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() -- cgit v1.2.3