From 580eee7963dce4934b4a6ad73666576b9804f632 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 12 Jan 2006 16:24:21 +0000 Subject: [PATCH] Add time debug for each Xquery --- includes/shellcmd.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/shellcmd.php b/includes/shellcmd.php index 27002d3..fd6edb5 100644 --- a/includes/shellcmd.php +++ b/includes/shellcmd.php @@ -74,9 +74,13 @@ class Shell function exec($command) { global $viewsvn; - $viewsvn->debug("exec(): $command"); + + $start = microtime(); exec($command, $output); + + $viewsvn->debug("exec(" . $viewsvn->funct->fetch_microtime_diff($start) . "): $command"); + return $output; } } -- 2.43.5