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