Ev::time

(PECL ev >= 0.2.0)

Ev::timeReturns the current time in fractional seconds since the epoch

說明

final public static Ev::time(): float

Returns the current time in fractional seconds since the epoch. Consider using Ev::now()

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the current time in fractional seconds since the epoch.

參見

  • Ev::now() - Returns the time when the last iteration of the default event loop has started