Home
last modified time | relevance | path

Searched refs:eventPoller_ (Results 1 – 5 of 5) sorted by relevance

/developtools/profiler/device/plugins/native_daemon/src/
Dhook_manager.cpp215 eventPoller_ = std::make_unique<EpollEventPoller>(DEFAULT_EVENT_POLLING_INTERVAL); in CreatePluginSession()
216 CHECK_NOTNULL(eventPoller_, false, "create event poller FAILED!"); in CreatePluginSession()
218 eventPoller_->Init(); in CreatePluginSession()
219 eventPoller_->Start(); in CreatePluginSession()
220eventPoller_->AddFileDescriptor(eventNotifier_->GetFd(), std::bind(&HookManager::ReadShareMemory, … in CreatePluginSession()
326 if (eventPoller_) { in DestroyPluginSession()
329 eventPoller_->RemoveFileDescriptor(eventNotifier_->GetFd()); in DestroyPluginSession()
331 eventPoller_->Stop(); in DestroyPluginSession()
332 eventPoller_->Finalize(); in DestroyPluginSession()
333 eventPoller_ = nullptr; in DestroyPluginSession()
/developtools/profiler/device/services/plugin_service/src/
Dplugin_service.cpp50 eventPoller_ = std::make_unique<EpollEventPoller>(DEFAULT_EVENT_POLLING_INTERVAL); in PluginService()
51 CHECK_NOTNULL(eventPoller_, NO_RETVAL, "create event poller FAILED!"); in PluginService()
53 eventPoller_->Init(); in PluginService()
54 eventPoller_->Start(); in PluginService()
59 if (eventPoller_) { in ~PluginService()
60 eventPoller_->Stop(); in ~PluginService()
61 eventPoller_->Finalize(); in ~PluginService()
144 eventPoller_->AddFileDescriptor(notifier->GetFd(), in CreatePluginSession()
147 eventPoller_->AddFileDescriptor(notifier->GetFd(), in CreatePluginSession()
246 eventPoller_->RemoveFileDescriptor(pluginCtx->eventNotifier->GetFd()); in DestroyPluginSession()
[all …]
/developtools/profiler/device/plugins/native_daemon/include/
Dhook_manager.h90 std::unique_ptr<EpollEventPoller> eventPoller_; variable
/developtools/profiler/device/services/plugin_service/include/
Dplugin_service.h126 std::unique_ptr<EpollEventPoller> eventPoller_; variable
/developtools/profiler/device/services/profiler_service/test/unittest/
Dplugin_service_stubs.cpp191 eventPoller_->RemoveFileDescriptor(pluginCtx->eventNotifier->GetFd()); in DestroyPluginSession()