|
ILIAS
Release_3_10_x_branch Revision 61812
|
performance measurement class More...
Collaboration diagram for ilBenchmark:Public Member Functions | |
| ilBenchmark () | |
| constructor | |
| microtimeDiff ($t1, $t2) | |
| clearData () | |
| delete all measurement data | |
| start ($a_module, $a_bench) | |
| start measurement | |
| stop ($a_module, $a_bench) | |
| stop measurement | |
| save () | |
| save all measurements | |
| getEvaluation ($a_module) | |
| get performance evaluation data | |
| getCurrentRecordNumber () | |
| get current number of benchmark records | |
| getMaximumRecords () | |
| get maximum number of benchmark records | |
| setMaximumRecords ($a_max) | |
| set maximum number of benchmark records | |
| isEnabled () | |
| check wether benchmarking is enabled or not | |
| enable ($a_enable) | |
| enable benchmarking | |
| getMeasuredModules () | |
| get all current measured modules | |
| getMeasuredTime ($a_module, $a_bench) | |
| Get measurement. | |
performance measurement class
Author: Alex Killing Alex.Killing@gmx.de
Definition at line 33 of file class.ilBenchmark.php.
| ilBenchmark::clearData | ( | ) |
delete all measurement data
Definition at line 61 of file class.ilBenchmark.php.
| ilBenchmark::enable | ( | $a_enable | ) |
enable benchmarking
Definition at line 203 of file class.ilBenchmark.php.
| ilBenchmark::getCurrentRecordNumber | ( | ) |
get current number of benchmark records
Definition at line 155 of file class.ilBenchmark.php.
References DB_FETCHMODE_ASSOC.
Referenced by save().
Here is the caller graph for this function:| ilBenchmark::getEvaluation | ( | $a_module | ) |
get performance evaluation data
Definition at line 130 of file class.ilBenchmark.php.
References DB_FETCHMODE_ASSOC.
| ilBenchmark::getMaximumRecords | ( | ) |
get maximum number of benchmark records
Definition at line 170 of file class.ilBenchmark.php.
Referenced by save().
Here is the caller graph for this function:| ilBenchmark::getMeasuredModules | ( | ) |
get all current measured modules
Definition at line 221 of file class.ilBenchmark.php.
References DB_FETCHMODE_ASSOC.
| ilBenchmark::getMeasuredTime | ( | $a_module, | |
| $a_bench | |||
| ) |
Get measurement.
Definition at line 243 of file class.ilBenchmark.php.
| ilBenchmark::ilBenchmark | ( | ) |
| ilBenchmark::isEnabled | ( | ) |
check wether benchmarking is enabled or not
Definition at line 192 of file class.ilBenchmark.php.
Referenced by save().
Here is the caller graph for this function:| ilBenchmark::microtimeDiff | ( | $t1, | |
| $t2 | |||
| ) |
Definition at line 47 of file class.ilBenchmark.php.
Referenced by stop().
Here is the caller graph for this function:| ilBenchmark::save | ( | ) |
save all measurements
Definition at line 98 of file class.ilBenchmark.php.
References getCurrentRecordNumber(), getMaximumRecords(), and isEnabled().
Here is the call graph for this function:| ilBenchmark::setMaximumRecords | ( | $a_max | ) |
set maximum number of benchmark records
Definition at line 181 of file class.ilBenchmark.php.
| ilBenchmark::start | ( | $a_module, | |
| $a_bench | |||
| ) |
start measurement
| string | $type | measurement type |
Definition at line 77 of file class.ilBenchmark.php.
| ilBenchmark::stop | ( | $a_module, | |
| $a_bench | |||
| ) |
stop measurement
| int | $mid | measurement id |
Definition at line 88 of file class.ilBenchmark.php.
References microtimeDiff().
Here is the call graph for this function: