mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Setup steps duration
This commit is contained in:
@@ -116,6 +116,7 @@ class ApplicationInstaller
|
||||
{
|
||||
try
|
||||
{
|
||||
$fStart = microtime(true);
|
||||
switch ($sStep)
|
||||
{
|
||||
case '':
|
||||
@@ -338,6 +339,8 @@ class ApplicationInstaller
|
||||
'percentage-completed' => 100,
|
||||
);
|
||||
}
|
||||
$fDuration = round(microtime(true) - $fStart, 2);
|
||||
SetupPage::log_info("##### STEP {$sStep} duration: {$fDuration}s");
|
||||
}
|
||||
catch (Exception $e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user