Lines Matching refs:XperfPlugin
17 #include "XperfPlugin.h"
95 REGISTER(XperfPlugin);
96 REGISTER_PUBLISHER(XperfPlugin);
99 void XperfPlugin::OnLoad()
101 HIVIEW_LOGI("XperfPlugin::OnLoad");
108 void XperfPlugin::OnUnload()
113 void XperfPlugin::OnEventListeningCallback(const Event &event)
125 void XperfPlugin::AddAppEventHandler(std::shared_ptr<AppEventHandler> handler)
130 void XperfPlugin::NormalInit()
141 HIVIEW_LOGW("[XperfPlugin::OnLoad] eventObservable is null");
145 void XperfPlugin::XperfDispatch(const SysEvent& sysEvent)
160 void XperfPlugin::DispatchToMonitor(unsigned int logId, std::shared_ptr<XperfEvt> xperfEvt)
166 HIVIEW_LOGW("[XperfPlugin::DispatchToMonitor] no monitor register for %{public}d", logId);
174 void XperfPlugin::PostAppStartEvent(const AppStartInfo& ase)
178 HIVIEW_LOGD("[XperfPlugin::PostAppStartEvent] PostEvent begin");
180 HIVIEW_LOGD("[XperfPlugin::PostAppStartEvent] PostEvent end");
182 HIVIEW_LOGW("[XperfPlugin::PostAppStartEvent] appEventHandler is null");
186 void XperfPlugin::PostScrollJankEvent(const ScrollJankInfo& sji)
190 HIVIEW_LOGD("[XperfPlugin::PostScrollJankEvent] PostEvent begin");
192 HIVIEW_LOGD("[XperfPlugin::PostScrollJankEvent] PostEvent end");
194 HIVIEW_LOGW("[XperfPlugin::PostScrollJankEvent] appEventHandler is null");