Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 22386 программистов и 1153 робота. Сейчас ищет 651 программист ...
Приступая к работе

EvLoop::now - Returns the current "event loop time"

Вернуться к: EvLoop

EvLoop::now

(PECL ev >= 0.2.0)

EvLoop::nowReturns the current "event loop time"

Описание

public double EvLoop::now ( void )

Returns the current "event loop time", which is the time the event loop received events and started processing them. This timestamp does not change as long as callbacks are being processed, and this is also the base time used for relative timers. You can treat it as the timestamp of the event occurring(or more correctly, libev finding out about it).

Список параметров

У этой функции нет параметров.

Возвращаемые значения

Returns time of the event loop in (fractional) seconds.

Смотрите также

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


Вернуться к: EvLoop

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware