Home
last modified time | relevance | path

Searched refs:nowStart (Results 1 – 2 of 2) sorted by relevance

/base/notification/eventhandler/frameworks/eventhandler/src/
Devent_handler.cpp243 … EventHandler::DeliveryTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart) in DeliveryTimeAction() argument
255 std::chrono::duration<double> deliveryTime = nowStart - event->GetSendTime(); in DeliveryTimeAction()
261 if ((nowStart - std::chrono::milliseconds(deliveryTimeout)) > event->GetHandleTime()) { in DeliveryTimeAction()
271 …ventHandler::DistributeTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart) in DistributeTimeAction() argument
284 std::chrono::duration<double> distributeTime = nowEnd - nowStart; in DistributeTimeAction()
290 if ((nowEnd - std::chrono::milliseconds(distributeTimeout)) > nowStart) { in DistributeTimeAction()
322 InnerEvent::TimePoint nowStart = InnerEvent::Clock::now(); in DistributeEvent() local
323 DeliveryTimeAction(event, nowStart); in DistributeEvent()
333 DistributeTimeAction(event, nowStart); in DistributeEvent()
/base/notification/eventhandler/interfaces/inner_api/
Devent_handler.h896 void DistributeTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart);
904 void DeliveryTimeAction(const InnerEvent::Pointer &event, InnerEvent::TimePoint nowStart);