https://src.bluestatic.org
/
viewsvn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6175aac
)
Add time debug for each Xquery
author
Robert Sesek <rsesek@bluestatic.org>
Thu, 12 Jan 2006 16:24:21 +0000
(16:24 +0000)
committer
Robert Sesek <rsesek@bluestatic.org>
Thu, 12 Jan 2006 16:24:21 +0000
(16:24 +0000)
includes/shellcmd.php
patch
|
blob
|
history
diff --git
a/includes/shellcmd.php
b/includes/shellcmd.php
index 27002d3fd2d70acee2927a6da5458eb03c1a0df0..fd6edb50c48cd5ffdb3010cc3f97ee0e8d877ef2 100644
(file)
--- 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;
}
}