summaryrefslogtreecommitdiff
path: root/includes/ProfilerSimpleUDP.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2008-08-15 01:29:47 +0200
committerPierre Schmitz <pierre@archlinux.de>2008-08-15 01:29:47 +0200
commit370e83bb0dfd0c70de268c93bf07ad5ee0897192 (patch)
tree491674f4c242e4d6ba0d04eafa305174c35a3391 /includes/ProfilerSimpleUDP.php
parentf4debf0f12d0524d2b2427c55ea3f16b680fad97 (diff)
Update auf 1.13.0
Diffstat (limited to 'includes/ProfilerSimpleUDP.php')
-rw-r--r--includes/ProfilerSimpleUDP.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/includes/ProfilerSimpleUDP.php b/includes/ProfilerSimpleUDP.php
index 7d2f7e21..67ad97f6 100644
--- a/includes/ProfilerSimpleUDP.php
+++ b/includes/ProfilerSimpleUDP.php
@@ -1,17 +1,19 @@
<?php
+/**
+ * @file
+ * @ingroup Profiler
+ */
-require_once(dirname(__FILE__).'/Profiler.php');
require_once(dirname(__FILE__).'/ProfilerSimple.php');
/**
* ProfilerSimpleUDP class, that sends out messages for 'udpprofile' daemon
* (the one from mediawiki/trunk/udpprofile SVN )
- * @addtogroup Profiler
+ * @ingroup Profiler
*/
class ProfilerSimpleUDP extends ProfilerSimple {
function getFunctionReport() {
- global $wgUDPProfilerHost;
- global $wgUDPProfilerPort;
+ global $wgUDPProfilerHost, $wgUDPProfilerPort;
if ( $this->mCollated['-total']['real'] < $this->mMinimumTime ) {
# Less than minimum, ignore
@@ -37,4 +39,3 @@ class ProfilerSimpleUDP extends ProfilerSimple {
socket_sendto($sock,$packet,$plength,0x100,$wgUDPProfilerHost,$wgUDPProfilerPort);
}
}
-