Cheetah
All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
ChProfilerModule Class Reference
Inheritance diagram for ChProfilerModule:
ChWsbModule

Public Member Functions

 __construct (&$aModule)
 
 actionHome ()
 
 actionAdministration ()
 
 isAdmin ()
 
- Public Member Functions inherited from ChWsbModule
 __construct ($aModule)
 
 isLogged ()
 
 getUserId ()
 
 getUserPassword ()
 
 getTitleKey ($sUri)
 
 serviceGetBaseUrl ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ChWsbModule
static getInstance ($sClassName)
 
static getTitle ($sUri)
 
- Public Attributes inherited from ChWsbModule
 $_aModule
 
 $_oDb
 
 $_oTemplate
 
 $_oConfig
 

Detailed Description

Profiler module by Cheetah

This module estimate timining, like page openings, mysql queries execution and service calls. Also it can log too long queries, so you can later investigate these bottle necks and speedup whole script.

To enable profiler you need install it and add the following lines to the beginning of inc/header.inc.php file

define ('CH_PROFILER', true); if (CH_PROFILER && !isset($GLOBALS['ch_profiler_start'])) $GLOBALS['ch_profiler_start'] = microtime ();

Definition at line 23 of file ChProfilerModule.php.

Constructor & Destructor Documentation

◆ __construct()

ChProfilerModule::__construct ( $aModule)

Definition at line 25 of file ChProfilerModule.php.

Member Function Documentation

◆ actionAdministration()

ChProfilerModule::actionAdministration ( )

Definition at line 37 of file ChProfilerModule.php.

◆ actionHome()

ChProfilerModule::actionHome ( )

Definition at line 30 of file ChProfilerModule.php.

◆ isAdmin()

ChProfilerModule::isAdmin ( )

Definition at line 77 of file ChProfilerModule.php.


The documentation for this class was generated from the following file: