From 370e83bb0dfd0c70de268c93bf07ad5ee0897192 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 15 Aug 2008 01:29:47 +0200 Subject: Update auf 1.13.0 --- includes/ProfilerSimpleText.php | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 includes/ProfilerSimpleText.php (limited to 'includes/ProfilerSimpleText.php') diff --git a/includes/ProfilerSimpleText.php b/includes/ProfilerSimpleText.php new file mode 100644 index 00000000..9252e302 --- /dev/null +++ b/includes/ProfilerSimpleText.php @@ -0,0 +1,35 @@ +visible=true; + * + * @ingroup Profiler + */ +class ProfilerSimpleText extends ProfilerSimple { + public $visible=false; /* Show as
 or \n";
+	}
+
+	/* dense is good */
+	static function sort($a,$b) { return $a['real']<$b['real']; /* sort descending by time elapsed */ }
+	static function format($item,$key) { printf("%3.6f %6d - %s\n",$item['real'],$item['count'], $key); }
+}
-- 
cgit v1.2.3-54-g00ecf