Instrumented the code to measure the impact of object reloads

SVN:trunk[2907]
This commit is contained in:
Romain Quetiez
2013-10-14 15:19:26 +00:00
parent 6de4d93ef2
commit 30de6a1e39

View File

@@ -433,7 +433,9 @@ abstract class DBObject
{
// Lazy load (polymorphism): complete by reloading the entire object
// #@# non-scalar attributes.... handle that differently?
$oKPI = new ExecutionKPI();
$this->Reload();
$oKPI->ComputeStats('Reload', get_class($this).'/'.$sAttCode);
}
elseif ($sAttCode == 'friendlyname')
{