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

List of all members.

Public Member Functions

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

Private Member Functions

 delete ($dbw)
 insertData ($dbw)
 truncate ($dbw)

Detailed Description

Definition at line 9 of file bench_delete_truncate.php.


Constructor & Destructor Documentation

Default constructor.

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

Reimplemented from Benchmarker.

Definition at line 11 of file bench_delete_truncate.php.


Member Function Documentation

BenchmarkDeleteTruncate::delete ( dbw) [private]
Parameters:
$dbwDatabaseBase
Returns:
void

Definition at line 67 of file bench_delete_truncate.php.

Do the actual work.

All child classes will need to implement this

Reimplemented from Maintenance.

Definition at line 16 of file bench_delete_truncate.php.

References $test, echo, insertData(), truncate(), wfGetDB(), and wfTime().

Here is the call graph for this function:

Parameters:
$dbwDatabaseBase
Returns:
void

Definition at line 54 of file bench_delete_truncate.php.

Referenced by execute().

Here is the caller graph for this function:

BenchmarkDeleteTruncate::truncate ( dbw) [private]
Parameters:
$dbwDatabaseBase
Returns:
void

Definition at line 75 of file bench_delete_truncate.php.

References $test.

Referenced by execute().

Here is the caller graph for this function:


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