summaryrefslogtreecommitdiffstats
path: root/usr/local/www/includes
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-18 02:54:03 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-18 02:54:03 +0000
commitbebade2db1884aa00f7ec573a41b384c94a2b2b3 (patch)
tree7228776983ca3fec6dd408d94dc9ad038c093d97 /usr/local/www/includes
parentbee4062ac87819b86b3773ea992c5acbf109900e (diff)
downloadpfsense-bebade2db1884aa00f7ec573a41b384c94a2b2b3.zip
pfsense-bebade2db1884aa00f7ec573a41b384c94a2b2b3.tar.gz
Remove sleep 1
Diffstat (limited to 'usr/local/www/includes')
-rw-r--r--usr/local/www/includes/functions.inc.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php
index 5482bac..0ffbb79 100644
--- a/usr/local/www/includes/functions.inc.php
+++ b/usr/local/www/includes/functions.inc.php
@@ -31,7 +31,6 @@ function cpu_usage() {
$cpuTicks = explode(" ", `/sbin/sysctl -n kern.cp_time`);
sleep(1);
$cpuTicks2 = explode(" ", `/sbin/sysctl -n kern.cp_time`);
- sleep(1);
$diff = array();
$diff['user'] = ($cpuTicks2[0] - $cpuTicks[0]);
OpenPOWER on IntegriCloud