Horde_View_Helper_Benchmark_Timer
    
            
            in package
            
        
    
    
    
        
            An instance of this class is returned by Horde_View_Helper_Benchmark::benchmark().
Tags
Table of Contents
- $_level : string|int
 - Log level to log after the benchmark has ended.
 - $_logger : Horde_Log_Logger
 - Logger instance that will be used to record the time after the benchmark has ended.
 - $_message : string
 - Message to log after the benchmark has ended
 - $_start : float
 - (Micro-)time that the benchmark was started.
 - __construct() : mixed
 - Starts a new benchmark.
 - end() : mixed
 - Ends the benchmark and log the result.
 
Properties
$_level
Log level to log after the benchmark has ended.
    protected
        string|int
    $_level
    
    
    
    
$_logger
Logger instance that will be used to record the time after the benchmark has ended.
    protected
        Horde_Log_Logger
    $_logger
    
    
    
    
$_message
Message to log after the benchmark has ended
    protected
        string
    $_message
    
    
    
    
$_start
(Micro-)time that the benchmark was started.
    protected
        float
    $_start
    
    
    
    
Methods
__construct()
Starts a new benchmark.
    public
                    __construct(string $message[, string|int $level = 'info' ][, Horde_Log_Logger $logger = null ]) : mixed
    
        Parameters
- $message : string
 - 
                    
Message to log after the benchmark has ended.
 - $level : string|int = 'info'
 - 
                    
Log level to log after the benchmark has ended.
 - $logger : Horde_Log_Logger = null
 - 
                    
Logger instance.
 
Return values
mixed —end()
Ends the benchmark and log the result.
    public
                    end() : mixed