|
Cheetah
|
Public Member Functions | |
| __construct ($iTimeStart) | |
| output () | |
| _logBegin ($s) | |
| _logEnd () | |
| _appendToLog ($s) | |
| logSqlQuery ($iTime, $aSqlQuery, &$res) | |
| logModuleQuery ($iTime, $aModuleQuery) | |
| logPageOpen ($iTime) | |
| beginModule ($sType, $sHash, &$aModule, $sClassFile, $sMethod='') | |
| endModule ($sType, $sHash) | |
| beginInjection ($sId) | |
| endInjection ($sId, $sName, $sKey, $isReplace) | |
| beginPageBlock ($sName, $iBlockId) | |
| endPageBlock ($iBlockId, $isEmpty, $isCached) | |
| beginPage ($sName) | |
| endPage (&$sContent) | |
| beginTemplate ($sName, $sRand) | |
| endTemplate ($sName, $sRand, &$sContent, $isCached) | |
| beginQuery ($sSql) | |
| endQuery (&$res) | |
| beginMenu ($sName) | |
| endMenu ($sName) | |
| _getCurrentDelay () | |
| _plankMain () | |
| _plankTemplates () | |
| _plankInjections () | |
| _plankPagesBlocks () | |
| _plankMenus () | |
| _plankSql () | |
| _plankModules () | |
| _formatTime ($i, $iPrecision=3) | |
| _formatBytes ($i) | |
| _isProfilerDisabled () | |
| _calcTime ($begin) | |
| _debugPrintArray ($mixed) | |
| _debugPrintObject ($mixed) | |
| _debugPrintAny ($mixed) | |
| _debugBackTrace ($iShifts=0) | |
Public Attributes | |
| $oConfig | |
| $oTemplate | |
| $aConf = array () | |
| $_iTimeStart = 0 | |
| $_aQueries = array() | |
| $_sQueryIndex = 0 | |
| $_aModules = array() | |
| $_aModulesNames = array() | |
| $_aModulesLevel = 0 | |
| $_sLogDateFormat = "Y-m-d H:i:s" | |
| $_sLogMaxArgLength = 64 | |
| $_sLogFilename = 64 | |
Definition at line 24 of file ChProfiler.php.
| ChProfiler::__construct | ( | $iTimeStart | ) |
constructor
Definition at line 46 of file ChProfiler.php.
| ChProfiler::_appendToLog | ( | $s | ) |
Definition at line 122 of file ChProfiler.php.
| ChProfiler::_calcTime | ( | $begin | ) |
Definition at line 536 of file ChProfiler.php.
| ChProfiler::_debugBackTrace | ( | $iShifts = 0 | ) |
Definition at line 568 of file ChProfiler.php.
| ChProfiler::_debugPrintAny | ( | $mixed | ) |
Definition at line 560 of file ChProfiler.php.
| ChProfiler::_debugPrintArray | ( | $mixed | ) |
Definition at line 545 of file ChProfiler.php.
| ChProfiler::_debugPrintObject | ( | $mixed | ) |
Definition at line 555 of file ChProfiler.php.
| ChProfiler::_formatBytes | ( | $i | ) |
Definition at line 511 of file ChProfiler.php.
| ChProfiler::_formatTime | ( | $i, | |
$iPrecision = 3 |
|||
| ) |
Definition at line 506 of file ChProfiler.php.
| ChProfiler::_getCurrentDelay | ( | ) |
Definition at line 305 of file ChProfiler.php.
| ChProfiler::_isProfilerDisabled | ( | ) |
Definition at line 521 of file ChProfiler.php.
| ChProfiler::_logBegin | ( | $s | ) |
Definition at line 109 of file ChProfiler.php.
| ChProfiler::_logEnd | ( | ) |
Definition at line 117 of file ChProfiler.php.
| ChProfiler::_plankInjections | ( | ) |
Definition at line 373 of file ChProfiler.php.
| ChProfiler::_plankMain | ( | ) |
Definition at line 312 of file ChProfiler.php.
| ChProfiler::_plankMenus | ( | ) |
Definition at line 447 of file ChProfiler.php.
| ChProfiler::_plankModules | ( | ) |
Definition at line 485 of file ChProfiler.php.
| ChProfiler::_plankPagesBlocks | ( | ) |
Definition at line 392 of file ChProfiler.php.
| ChProfiler::_plankSql | ( | ) |
Definition at line 466 of file ChProfiler.php.
| ChProfiler::_plankTemplates | ( | ) |
Definition at line 327 of file ChProfiler.php.
| ChProfiler::beginInjection | ( | $sId | ) |
Definition at line 195 of file ChProfiler.php.
| ChProfiler::beginMenu | ( | $sName | ) |
Definition at line 289 of file ChProfiler.php.
| ChProfiler::beginModule | ( | $sType, | |
| $sHash, | |||
| & | $aModule, | ||
| $sClassFile, | |||
$sMethod = '' |
|||
| ) |
Definition at line 170 of file ChProfiler.php.
| ChProfiler::beginPage | ( | $sName | ) |
Definition at line 233 of file ChProfiler.php.
| ChProfiler::beginPageBlock | ( | $sName, | |
| $iBlockId | |||
| ) |
Definition at line 214 of file ChProfiler.php.
| ChProfiler::beginQuery | ( | $sSql | ) |
Definition at line 268 of file ChProfiler.php.
| ChProfiler::beginTemplate | ( | $sName, | |
| $sRand | |||
| ) |
Definition at line 250 of file ChProfiler.php.
| ChProfiler::endInjection | ( | $sId, | |
| $sName, | |||
| $sKey, | |||
| $isReplace | |||
| ) |
Definition at line 201 of file ChProfiler.php.
| ChProfiler::endMenu | ( | $sName | ) |
Definition at line 295 of file ChProfiler.php.
| ChProfiler::endModule | ( | $sType, | |
| $sHash | |||
| ) |
Definition at line 184 of file ChProfiler.php.
| ChProfiler::endPage | ( | & | $sContent | ) |
Definition at line 240 of file ChProfiler.php.
| ChProfiler::endPageBlock | ( | $iBlockId, | |
| $isEmpty, | |||
| $isCached | |||
| ) |
Definition at line 221 of file ChProfiler.php.
| ChProfiler::endQuery | ( | & | $res | ) |
Definition at line 275 of file ChProfiler.php.
| ChProfiler::endTemplate | ( | $sName, | |
| $sRand, | |||
| & | $sContent, | ||
| $isCached | |||
| ) |
Definition at line 257 of file ChProfiler.php.
| ChProfiler::logModuleQuery | ( | $iTime, | |
| $aModuleQuery | |||
| ) |
Definition at line 143 of file ChProfiler.php.
| ChProfiler::logPageOpen | ( | $iTime | ) |
Definition at line 156 of file ChProfiler.php.
| ChProfiler::logSqlQuery | ( | $iTime, | |
| $aSqlQuery, | |||
| & | $res | ||
| ) |
Definition at line 131 of file ChProfiler.php.
| ChProfiler::output | ( | ) |
output profiler info
Definition at line 83 of file ChProfiler.php.
| ChProfiler::$_aModules = array() |
Definition at line 35 of file ChProfiler.php.
| ChProfiler::$_aModulesLevel = 0 |
Definition at line 37 of file ChProfiler.php.
| ChProfiler::$_aModulesNames = array() |
Definition at line 36 of file ChProfiler.php.
| ChProfiler::$_aQueries = array() |
Definition at line 32 of file ChProfiler.php.
| ChProfiler::$_iTimeStart = 0 |
Definition at line 30 of file ChProfiler.php.
| ChProfiler::$_sLogDateFormat = "Y-m-d H:i:s" |
Definition at line 39 of file ChProfiler.php.
| ChProfiler::$_sLogFilename = 64 |
Definition at line 41 of file ChProfiler.php.
| ChProfiler::$_sLogMaxArgLength = 64 |
Definition at line 40 of file ChProfiler.php.
| ChProfiler::$_sQueryIndex = 0 |
Definition at line 33 of file ChProfiler.php.
| ChProfiler::$aConf = array () |
Definition at line 28 of file ChProfiler.php.
| ChProfiler::$oConfig |
Definition at line 26 of file ChProfiler.php.
| ChProfiler::$oTemplate |
Definition at line 26 of file ChProfiler.php.