Home
last modified time | relevance | path

Searched refs:protoData (Results 1 - 24 of 24) sorted by relevance

/developtools/profiler/device/plugins/ffrt_profiler/service/src/
H A Dffrt_profiler_handle.cpp33 std::visit([&](auto& protoData) { in ~FfrtProfilerHandle()
34 FlushData(protoData); in ~FfrtProfilerHandle()
57 std::visit([&](auto& protoData) { in SerializeData()
62 SerializeDataImpl(protoData, data, size); in SerializeData()
63 FlushCheck(protoData); in SerializeData()
68 void FfrtProfilerHandle::SerializeDataImpl(T& protoData, const int8_t data[], uint32_t size) in SerializeDataImpl() argument
79 ReportCommonData(protoData, baseData); in SerializeDataImpl()
81 SerializeTraceData(protoData, data, size); in SerializeDataImpl()
83 SerializeRawData(protoData, data, size); in SerializeDataImpl()
88 void FfrtProfilerHandle::ReportCommonData(T& protoData, FfrtResultBas argument
118 SerializeTraceData(T& protoData, const int8_t data[], uint32_t size) SerializeTraceData() argument
136 SerializeRawData(T& protoData, const int8_t data[], uint32_t size) SerializeRawData() argument
151 FlushCheck(T& protoData) FlushCheck() argument
[all...]
/developtools/smartperf_host/trace_streamer/test/unittest/pbreader_parser/
H A Dhtrace_binder_event_test.cpp122 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
126 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
149 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
153 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
165 dataSeg2.protoData = cpuDetailBytesView2; in HWTEST_F()
166 ProtoReader::TracePluginResult_Reader tracePluginResult2(dataSeg2.protoData); in HWTEST_F()
190 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
194 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
206 dataSeg2.protoData = cpuDetailBytesView2; in HWTEST_F()
207 ProtoReader::TracePluginResult_Reader tracePluginResult2(dataSeg2.protoData); in HWTEST_F()
[all...]
H A Dhtrace_irq_event_test.cpp141 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
145 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
169 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
173 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
185 dataSeg2.protoData = cpuDetailBytesView2; in HWTEST_F()
186 ProtoReader::TracePluginResult_Reader tracePluginResult2(dataSeg2.protoData); in HWTEST_F()
214 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
218 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
245 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
249 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
[all...]
H A Dhtrace_event_parser_test.cpp88 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
92 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
122 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
126 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
169 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
173 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
212 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
216 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
256 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
260 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
[all...]
H A Dhtrace_cpu_detail_parser_test.cpp62 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
66 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
92 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
95 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
128 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
132 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
176 dataSeg.protoData = cpuDetailBytesView; in HWTEST_F()
180 ProtoReader::TracePluginResult_Reader tracePluginResult(dataSeg.protoData); in HWTEST_F()
H A Dpbreader_ffrt_parser_test.cpp51 dataSeg.protoData.data_ = reinterpret_cast<const uint8_t *>(dataSeg.seg->data()); in SetFfrtSrcClockid()
52 dataSeg.protoData.size_ = dataSeg.seg->size(); in SetFfrtSrcClockid()
109 dataSeg.protoData = in HWTEST_F()
129 dataSeg.protoData = in HWTEST_F()
H A Dpbreader_mem_parser_test.cpp103 dataSeg_.protoData = memBytesView; in HWTEST_F()
132 dataSeg_.protoData = memBytesView; in HWTEST_F()
179 dataSeg_.protoData = memBytesView; in HWTEST_F()
220 dataSeg_.protoData = memBytesView; in HWTEST_F()
255 dataSeg_.protoData = memBytesView; in HWTEST_F()
301 dataSeg_.protoData = memBytesView; in HWTEST_F()
345 dataSeg_.protoData = memBytesView; in HWTEST_F()
378 dataSeg_.protoData = memBytesView; in HWTEST_F()
406 dataSeg_.protoData = memBytesView; in HWTEST_F()
H A Dpbreader_sys_mem_parser_test.cpp81 dataSeg.protoData = memBytesView; in HWTEST_F()
134 dataSeg.protoData = memBytesView; in HWTEST_F()
188 dataSeg.protoData = memBytesView; in HWTEST_F()
251 dataSeg.protoData = memBytesView; in HWTEST_F()
301 dataSeg.protoData = memBytesView; in HWTEST_F()
H A Dpbreader_sys_vmem_parser_test.cpp79 dataSeg.protoData = memBytesView; in HWTEST_F()
131 dataSeg.protoData = memBytesView; in HWTEST_F()
183 dataSeg.protoData = memBytesView; in HWTEST_F()
246 dataSeg.protoData = memBytesView; in HWTEST_F()
298 dataSeg.protoData = memBytesView; in HWTEST_F()
/developtools/profiler/device/plugins/network_profiler/service/src/
H A Dnetwork_profiler_handle.cpp35 std::visit([&](auto& protoData) { in ~NetworkProfilerHandle()
36 FlushData(protoData); in ~NetworkProfilerHandle()
59 std::visit([&](auto& protoData) { in SerializeData()
64 SerializeDataImpl(protoData, data, size); in SerializeData()
65 FlushCheck(protoData); in SerializeData()
70 void NetworkProfilerHandle::SerializeDataImpl(T& protoData, const int8_t data[], uint32_t size) in SerializeDataImpl() argument
76 auto networkEvent = protoData.add_network_event(); in SerializeDataImpl()
103 void NetworkProfilerHandle::FlushCheck(T& protoData) in FlushCheck() argument
108 FlushData(protoData); in FlushCheck()
/developtools/profiler/device/plugins/ffrt_profiler/service/include/
H A Dffrt_profiler_handle.h49 void FlushCheck(T& protoData);
53 void SerializeDataImpl(T& protoData, const int8_t data[], uint32_t size);
57 void SerializeTraceData(T& protoData, const int8_t data[], uint32_t size);
59 void ReportCommonData(T& protoData, FfrtResultBase* base);
61 void SerializeRawData(T& protoData, const int8_t data[], uint32_t size);
/developtools/profiler/device/plugins/network_profiler/service/include/
H A Dnetwork_profiler_handle.h48 void FlushCheck(T& protoData);
52 void SerializeDataImpl(T& protoData, const int8_t data[], uint32_t size);
56 void SerializeTraceData(T& protoData, const int8_t data[], uint32_t size);
58 void SerializeThreadData(T& protoData, const int8_t data[], uint32_t size);
60 void SerializeRawData(T& protoData, const int8_t data[], uint32_t size);
/developtools/profiler/device/plugins/xpower_plugin/src/
H A Dxpower_plugin.cpp130 void XpowerPlugin::OptimizeCallback(const std::uint32_t messageType, const uint8_t *protoData, size_t protoSize) in OptimizeCallback() argument
132 if (protoData == nullptr || protoSize <= 0) { in OptimizeCallback()
136 // write protoData to file in OptimizeCallback()
138 resultWriter_->write(resultWriter_, protoData, protoSize); in OptimizeCallback()
148 if (memcpy_s(rawData->baseData.get(), protoSize, protoData, protoSize) != EOK) { in OptimizeCallback()
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/
H A Dpbreader_parser.cpp388 pbreaderHiLogParser_->Parse(seg.protoData, haveSplitSeg); in FilterData()
393 cpuUsageParser_->Parse(seg.protoData, seg.timeStamp); in FilterData()
398 pbreaderHidumpParser_->Parse(seg.protoData); in FilterData()
404 networkParser_->Parse(seg.protoData, seg.timeStamp); in FilterData()
409 processParser_->Parse(seg.protoData, seg.timeStamp); in FilterData()
414 diskIOParser_->Parse(seg.protoData, seg.timeStamp); in FilterData()
419 jsMemoryParser_->Parse(seg.protoData, seg.timeStamp, traceDataCache_->SplitFileMinTime(), in FilterData()
422 jsMemoryParser_->ParseJSMemoryConfig(seg.protoData); in FilterData()
427 ProtoReader::HisyseventInfo_Reader hisyseventInfo(seg.protoData.data_, seg.protoData in FilterData()
[all...]
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/ffrt_parser/
H A Dpbreader_ffrt_parser.cpp70 ProtoReader::FfrtProfilerResult_Reader ffrtResultReader(dataSeg.protoData); in Parser()
85 ProtoReader::FfrtProfilerConfig_Reader ffrtCfgReader(dataSeg.protoData); in SetFfrtSrcClockid()
/developtools/profiler/device/plugins/xpower_plugin/include/
H A Dxpower_plugin.h34 void OptimizeCallback(const std::uint32_t messageType, const uint8_t* protoData, size_t protoSize);
/developtools/smartperf_host/trace_streamer/test/unittest/pbreader_parser/native_memory/
H A Dnative_hook_parser_test.cpp337 dataSeg.protoData = hookBytesView; in CreateBatchNativeHookData()
591 dataSeg.protoData = hookBytesView; in HWTEST_F()
616 dataSeg.protoData = hookBytesView; in HWTEST_F()
721 dataSeg.protoData = hookBytesView; in HWTEST_F()
757 dataSeg.protoData = hookBytesView; in HWTEST_F()
796 dataSeg.protoData = hookBytesView; in HWTEST_F()
865 dataSeg.protoData = hookBytesView; in HWTEST_F()
920 dataSeg.protoData = hookBytesView; in HWTEST_F()
983 dataSeg.protoData = hookBytesView; in HWTEST_F()
1036 dataSeg.protoData in HWTEST_F()
[all...]
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/native_hook_parser/
H A Dpbreader_native_hook_parser.cpp166 auto batchNativeHookDataReader = ProtoReader::BatchNativeHookData_Reader(dataSeg.protoData); in Parse()
201 nativeHookFilter_->ParseConfigInfo(dataSeg.protoData, statisticsInterval_); in ParseConfigInfo()
/developtools/smartperf_host/trace_streamer/src/parser/
H A Dcommon_types.h69 ProtoReader::BytesView protoData; member
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/xpower_parser/
H A Dpbreader_xpower_parser.cpp39 ProtoReader::OptimizeReport_Reader optimizeReport(seg.protoData.data_, seg.protoData.size_); in Parse()
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/mem_parser/
H A Dpbreader_mem_parser.cpp96 ProtoReader::MemoryData_Reader memData(seg.protoData.data_, seg.protoData.size_); in Parse()
692 ProtoReader::MemoryConfig_Reader memConfigData(seg.protoData.data_, seg.protoData.size_); in ParseMemoryConfig()
/developtools/profiler/interfaces/kits/test/unittest/
H A Dplugin_module_api_test.cpp66 bool PollPluginStub(MemoryDataPlugin& plugin, MemoryConfig& protoConfig, MemoryData& protoData);
67 bool StreamPluginStub(StreamPlugin& plugin, StreamConfig& protoConfig, StreamData& protoData);
/developtools/smartperf_host/trace_streamer/src/filter/hook_filter/
H A Dnative_hook_filter.h73 void ParseConfigInfo(ProtoReader::BytesView &protoData, uint64_t &statisticsInterval);
H A Dnative_hook_filter.cpp41 void NativeHookFilter::ParseConfigInfo(ProtoReader::BytesView &protoData, uint64_t &statisticsInterval) in ParseConfigInfo() argument
43 auto configReader = ProtoReader::NativeHookConfig_Reader(protoData); in ParseConfigInfo()

Completed in 17 milliseconds