Property | Type | Description | |
---|---|---|---|
$marker | array | List of all benchmark markers |
Method | Description | |
---|---|---|
elapsed_time ( string $point1 = '', string $point2 = '', integer $decimals = 4 ) : string | Elapsed time | |
mark ( string $name ) : void | Set a benchmark marker | |
memory_usage ( ) : string | Memory Usage |
public elapsed_time ( string $point1 = '', string $point2 = '', integer $decimals = 4 ) : string | ||
$point1 | string | A particular marked point |
$point2 | string | A particular marked point |
$decimals | integer | Number of decimal places |
return | string | Calculated elapsed time on success, an '{elapsed_string}' if $point1 is empty or an empty string if $point1 is not found. |
public memory_usage ( ) : string | ||
return | string | '{memory_usage}' |