PHP 클래스 Horde_View_Helper_Benchmark_Timer, horde

저자: Mike Naberezny ([email protected])
저자: Derek DeVries ([email protected])
저자: Chuck Hagenbuch ([email protected])
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_level string | integer 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 ( string $message, string | integer $level = 'info', Horde_Log_Logger $logger = null ) Starts a new benchmark.
end ( ) Ends the benchmark and log the result.

메소드 상세

__construct() 공개 메소드

Starts a new benchmark.
public __construct ( string $message, string | integer $level = 'info', Horde_Log_Logger $logger = null )
$message string Message to log after the benchmark has ended.
$level string | integer Log level to log after the benchmark has ended.
$logger Horde_Log_Logger Logger instance.

end() 공개 메소드

Ends the benchmark and log the result.
public end ( )

프로퍼티 상세

$_level 보호되어 있는 프로퍼티

Log level to log after the benchmark has ended.
protected string|int $_level
리턴 string | integer

$_logger 보호되어 있는 프로퍼티

Logger instance that will be used to record the time after the benchmark has ended.
protected Horde_Log_Logger $_logger
리턴 Horde_Log_Logger

$_message 보호되어 있는 프로퍼티

Message to log after the benchmark has ended
protected string $_message
리턴 string

$_start 보호되어 있는 프로퍼티

(Micro-)time that the benchmark was started.
protected float $_start
리턴 float