HRTime\StopWatch
PHP Manual

HRTime\StopWatch::getElapsedTicks

(PECL hrtime >= 0.4.3)

HRTime\StopWatch::getElapsedTicksGet elapsed ticks for all intervals.

说明

public int HRTime\StopWatch::getElapsedTicks ( void )

Get elapsed ticks for all the previously closed intervals.

参数

此函数没有参数。

返回值

Returns integer indicating elapsed ticks.


HRTime\StopWatch
PHP Manual