Php/docs/hrtime-stopwatch.getelapsedticks

来自菜鸟教程
跳转至:导航、​搜索

HRTime\StopWatch::getElapsedTicks

(PECL hrtime >= 0.4.3)

HRTime\StopWatch::getElapsedTicksGet elapsed ticks for all intervals


说明

public HRTime\StopWatch::getElapsedTicks ( ) : int

Get elapsed ticks for all the previously closed intervals.


参数

此函数没有参数。


返回值

Returns int indicating elapsed ticks.