Swoole\Timer::statsGet timer statistics. 説明
public static array Swoole\Timer::stats()
Get timer statistics. As of Swoole 4.4.0. 戻り値Returns an array with the following keys:
例例1 Swoole\Timer::stats example 上の例の出力は、 たとえば以下のようになります。
array(3) {
["initialized"]=>
bool(true)
["num"]=>
int(1)
["round"]=>
int(0)
}
|