Home
last modified time | relevance | path

Searched refs:dataRepeater (Results 1 – 13 of 13) sorted by relevance

/developtools/profiler/device/services/profiler_service/test/unittest/
Dprofiler_data_repeater_test.cpp44 auto dataRepeater = std::make_shared<ProfilerDataRepeater>(bufferSize); variable
45 ASSERT_NE(dataRepeater, nullptr);
49 dataRepeater->PutPluginData(data);
50 EXPECT_EQ(dataRepeater->Size(), i + 1);
164 auto dataRepeater = std::make_shared<ProfilerDataRepeater>(bufferSize); variable
165 ASSERT_NE(dataRepeater, nullptr);
167 dataRepeater->Close();
178 auto dataRepeater = std::make_shared<ProfilerDataRepeater>(bufferSize); variable
179 ASSERT_NE(dataRepeater, nullptr);
181 dataRepeater->Reset();
[all …]
Dplugin_service_stubs.cpp132 const ProfilerDataRepeaterPtr& dataRepeater) in CreatePluginSession() argument
140 pluginCtx->profilerDataRepeater = dataRepeater; in CreatePluginSession()
151 const ProfilerDataRepeaterPtr& dataRepeater) in CreatePluginSession() argument
153 return CreatePluginSession(pluginConfig, dataRepeater); in CreatePluginSession()
Dprofiler_service_test.cpp1048 ASSERT_NE(sessionCtx->dataRepeater, nullptr);
1053 sessionCtx->dataRepeater->PutPluginData(data);
1066 sessionCtx->dataRepeater->Close();
1091 ASSERT_NE(sessionCtx->dataRepeater, nullptr);
1101 sessionCtx->dataRepeater->PutPluginData(data); in __anon05e951be0302()
1108 if (sessionCtx->dataRepeater->Size() == 0) { in __anon05e951be0402()
1109 sessionCtx->dataRepeater->Close(); in __anon05e951be0402()
1155 ASSERT_NE(sessionCtx->dataRepeater, nullptr);
1160 sessionCtx->dataRepeater->PutPluginData(data);
1192 ASSERT_NE(sessionCtx->dataRepeater, nullptr);
[all …]
/developtools/profiler/device/services/plugin_service/include/
Dplugin_session_manager.h32 const ProfilerDataRepeaterPtr& dataRepeater);
35 const ProfilerDataRepeaterPtr& dataRepeater);
53 const ProfilerDataRepeaterPtr& dataRepeater);
55 const ProfilerDataRepeaterPtr& dataRepeater);
Dplugin_session.h35 const ProfilerDataRepeaterPtr& dataRepeater);
39 const ProfilerDataRepeaterPtr& dataRepeater);
Dplugin_service.h85 const ProfilerDataRepeaterPtr& dataRepeater);
86 …uginSession(const ProfilerPluginConfig& pluginConfig, const ProfilerDataRepeaterPtr& dataRepeater);
/developtools/profiler/device/services/plugin_service/src/
Dplugin_session_manager.cpp54 … const ProfilerDataRepeaterPtr& dataRepeater) in CreatePluginSession() argument
61 …ession = std::make_shared<PluginSession>(pluginConfig, bufferConfig, pluginService_, dataRepeater); in CreatePluginSession()
68 … const ProfilerDataRepeaterPtr& dataRepeater) in CreatePluginSession() argument
74 auto session = std::make_shared<PluginSession>(pluginConfig, pluginService_, dataRepeater); in CreatePluginSession()
82 const ProfilerDataRepeaterPtr& dataRepeater) in CreatePluginSessions() argument
89 auto session = CreatePluginSession(pluginConfigs[i], bufferConfigs[i], dataRepeater); in CreatePluginSessions()
105 const ProfilerDataRepeaterPtr& dataRepeater) in CreatePluginSessions() argument
109 auto session = CreatePluginSession(pluginConfigs[i], dataRepeater); in CreatePluginSessions()
Dplugin_session.cpp22 const ProfilerDataRepeaterPtr& dataRepeater) in PluginSession() argument
27 dataRepeater_(dataRepeater) in PluginSession()
35 const ProfilerDataRepeaterPtr& dataRepeater) in PluginSession() argument
41 dataRepeater_(dataRepeater) in PluginSession()
Dplugin_service.cpp110 const ProfilerDataRepeaterPtr& dataRepeater) in CreatePluginSession() argument
118 pluginCtx->profilerDataRepeater = dataRepeater; in CreatePluginSession()
156 const ProfilerDataRepeaterPtr& dataRepeater) in CreatePluginSession() argument
164 pluginCtx->profilerDataRepeater = dataRepeater; in CreatePluginSession()
/developtools/profiler/device/services/profiler_service/src/
Dprofiler_service.cpp120 …E(service->pluginSessionManager_->CreatePluginSessions(pluginConfigs, bufferConfigs, dataRepeater), in CreatePluginSessions()
123 …CHECK_TRUE(service->pluginSessionManager_->CreatePluginSessions(pluginConfigs, dataRepeater), fals… in CreatePluginSessions()
134 if (dataRepeater) { in StartPluginSessions()
135 dataRepeater->Reset(); in StartPluginSessions()
182 if (dataRepeater) { in StopPluginSessions()
183 dataRepeater->Close(); in StopPluginSessions()
285 std::shared_ptr<ProfilerDataRepeater> dataRepeater = nullptr; in CreateSession() local
305 dataRepeater = std::make_shared<ProfilerDataRepeater>(DEFAULT_REPEATER_BUFFER_SIZE); in CreateSession()
306 CHECK_POINTER_NOTNULL(dataRepeater, "alloc ProfilerDataRepeater failed!"); in CreateSession()
315 if (dataRepeater != nullptr) { in CreateSession()
[all …]
/developtools/profiler/device/services/profiler_service/include/
Dprofiler_service.h98 std::shared_ptr<ProfilerDataRepeater> dataRepeater {nullptr};
/developtools/profiler/device/plugins/native_daemon/include/
Dstack_preprocess.h47 …explicit StackPreprocess(const StackDataRepeaterPtr& dataRepeater, const NativeHookConfig& hookCon…
/developtools/profiler/device/plugins/native_daemon/src/
Dstack_preprocess.cpp42 StackPreprocess::StackPreprocess(const StackDataRepeaterPtr& dataRepeater, in StackPreprocess() argument
45 …bool isHookStandalone) : dataRepeater_(dataRepeater), buffer_(new (std::nothrow) uint8_t[MAX_BUFFE… in StackPreprocess()