mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Improved the internal KPI reporting tools
SVN:trunk[722]
This commit is contained in:
@@ -455,15 +455,18 @@ try
|
||||
require_once('../application/itopwebpage.class.inc.php');
|
||||
require_once('../application/wizardhelper.class.inc.php');
|
||||
|
||||
$oDuration = new Duration();
|
||||
require_once('../application/startup.inc.php');
|
||||
$oAppContext = new ApplicationContext();
|
||||
$currentOrganization = utils::ReadParam('org_id', '');
|
||||
$operation = utils::ReadParam('operation', '');
|
||||
|
||||
$oKPI = new ExecutionKPI();
|
||||
|
||||
require_once('../application/loginwebpage.class.inc.php');
|
||||
LoginWebPage::DoLogin(); // Check user rights and prompt if needed
|
||||
|
||||
$oKPI->ComputeAndReport('User login');
|
||||
|
||||
$oP = new iTopWebPage(Dict::S('UI:WelcomeToITop'), $currentOrganization);
|
||||
|
||||
switch($operation)
|
||||
@@ -1390,7 +1393,8 @@ EOF
|
||||
$oP->set_title($oMenuNode->GetLabel());
|
||||
}
|
||||
}
|
||||
$oDuration->Scratch('Total page execution time');
|
||||
$oKPI->ComputeAndReport('GUI creation before output');
|
||||
ExecutionKPI::ReportStats();
|
||||
////MetaModel::ShowQueryTrace();
|
||||
$oP->output();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user