◆ __construct()
CBench::__construct |
( |
|
$params = array() | ) |
|
object constructor
- Parameters
-
array | $params | - Available parameters are
string output - none / shared / session / logs / html
|
- Returns
- void
◆ start()
CBench::start |
( |
|
$title = 'Start' | ) |
|
Start bench.
- Parameters
-
- Returns
- mixed
◆ add_steps()
CBench::add_steps |
( |
|
$title = 'Step' | ) |
|
Add a step to bench.
- Parameters
-
- Returns
- void
◆ stop()
CBench::stop |
( |
|
$title = 'Stop' | ) |
|
Stop bench.
- Parameters
-
- Returns
- void
◆ export()
CBench::export |
( |
|
$output = '' | ) |
|
Export results.
- Returns
- void
◆ get_results()
Return results.
- Returns
- array
◆ _export_toSharedData()
CBench::_export_toSharedData |
( |
| ) |
|
|
private |
Export results to CaMykS shared data.
- Returns
- void
◆ _export_toSession()
CBench::_export_toSession |
( |
| ) |
|
|
private |
Export results to session.
- Returns
- void
◆ _export_toCaMykSLogs()
CBench::_export_toCaMykSLogs |
( |
| ) |
|
|
private |
Export results to CaMykS logs.
- Returns
- void
◆ _export_toHTML()
CBench::_export_toHTML |
( |
| ) |
|
|
private |
Export results to HTML.
- Returns
- void
◆ _compute_results()
CBench::_compute_results |
( |
| ) |
|
|
private |
Compute results.
- Returns
- void
◆ $params
array CBench::$params = array('output' =>'html') |
|
private |
◆ $status
string CBench::$status = 'idle' |
|
private |
◆ $bench
array CBench::$bench = array() |
|
private |
◆ $results
array CBench::$results = array() |
|
private |
The documentation for this class was generated from the following file: