MediaWiki  REL1_19
BenchmarkHooks Class Reference
Inheritance diagram for BenchmarkHooks:
Collaboration diagram for BenchmarkHooks:

List of all members.

Public Member Functions

 __construct ()
 Default constructor.
 execute ()
 Do the actual work.
 test ()

Private Member Functions

 benchHooks ($trials=10)

Detailed Description

Definition at line 24 of file benchmarkHooks.php.


Constructor & Destructor Documentation

Default constructor.

Children should call this *first* if implementing their own constructors

Reimplemented from Benchmarker.

Definition at line 26 of file benchmarkHooks.php.


Member Function Documentation

BenchmarkHooks::benchHooks ( trials = 10) [private]
Parameters:
$trialsint
Returns:
string

Definition at line 60 of file benchmarkHooks.php.

References wfRunHooks(), and wfTime().

Referenced by execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 31 of file benchmarkHooks.php.

References $wgHooks, benchHooks(), and Maintenance\output().

Here is the call graph for this function:

Returns:
bool

Definition at line 74 of file benchmarkHooks.php.


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