manual.verysource.com
源码
技术论坛
博客
程序员在线工具箱
php教程
php手册
php手册
PHP Manual
HRTime
The HRTime\StopWatch class
The HRTime\StopWatch class
(PECL hrtime >= 0.4.3)
简介
类摘要
HRTime\StopWatch
extends
HRTime\PerformanceCounter
{
/* 方法 */
public
getElapsedTicks
(
void
) :
int
public
getElapsedTime
([
int
$unit
] ) :
float
public
getLastElapsedTicks
(
void
) :
int
public
getLastElapsedTime
([
int
$unit
] ) :
float
public
isRunning
(
void
) :
bool
public
start
(
void
) :
void
public
stop
(
void
) :
void
/* 继承的方法 */
public
static
HRTime\PerformanceCounter::getFrequency
(
void
) :
int
public
static
HRTime\PerformanceCounter::getTicks
(
void
) :
int
public
static
HRTime\PerformanceCounter::getTicksSince
(
int
$start
) :
int
}
Table of Contents
HRTime\StopWatch::getElapsedTicks
— Get elapsed ticks for all intervals
HRTime\StopWatch::getElapsedTime
— Get elapsed time for all intervals
HRTime\StopWatch::getLastElapsedTicks
— Get elapsed ticks for the last interval
HRTime\StopWatch::getLastElapsedTime
— Get elapsed time for the last interval
HRTime\StopWatch::isRunning
— Whether the measurement is running
HRTime\StopWatch::start
— Start time measurement
HRTime\StopWatch::stop
— Stop time measurement
User Contributed Notes
There are no user contributed notes for this page.
CopyRight © 2008-2022 verySource.Com All Rights reserved.
京ICP备17048824号-1
京公网安备:11010502034788