Home
last modified time | relevance | path

Searched refs:G_CHUNK_SIZE (Results 1 - 6 of 6) sorted by relevance

/developtools/smartperf_host/trace_streamer/test/unittest/base/
H A Dexport_test.cpp65 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(G_CHUNK_SIZE); in ParseTraceFile()
66 auto rsize = read(fd, buf.get(), G_CHUNK_SIZE); in ParseTraceFile()
H A Dexport_test.h25 constexpr size_t G_CHUNK_SIZE = 1024 * 1024; member
/developtools/smartperf_host/trace_streamer/src/base/
H A Dts_common.h27 constexpr size_t G_CHUNK_SIZE = 1024 * 1024;
28 constexpr size_t FLUSH_CHUNK_THRESHOLD = G_CHUNK_SIZE - 10000;
/developtools/smartperf_host/trace_streamer/src/rpc/
H A Drpc_server.cpp154 char outData[G_CHUNK_SIZE]; in SendConvertedFfrtFile()
156 inputFile.read(outData, G_CHUNK_SIZE); in SendConvertedFfrtFile()
174 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(G_CHUNK_SIZE); in ReadAndParseData()
175 inputFile.read(reinterpret_cast<char *>(buf.get()), G_CHUNK_SIZE); in ReadAndParseData() local
191 size_t parseSize = std::min(len, G_CHUNK_SIZE); in ParseData()
194 if (!ts_->ParseTraceDataSegment(std::move(buf), parseSize, false, isFinish && (len <= G_CHUNK_SIZE))) { in ParseData()
213 size_t parseSize = std::min(len, G_CHUNK_SIZE); in ParseDataWithoutCallback()
/developtools/smartperf_host/trace_streamer/src/
H A Dmain.cpp235 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(G_CHUNK_SIZE); in ReadAndParser()
236 auto rsize = Read(fd, buf.get(), G_CHUNK_SIZE); in ReadAndParser()
598 std::unique_ptr<uint8_t[]> buf = std::make_unique<uint8_t[]>(G_CHUNK_SIZE); in ReadAndParserLongTrace()
599 auto rSize = Read(fd, buf.get(), G_CHUNK_SIZE); in ReadAndParserLongTrace()
/developtools/smartperf_host/trace_streamer/src/trace_data/
H A Dtrace_data_cache.cpp336 perfBufferLine.reserve(G_CHUNK_SIZE); in ExportPerfReadableText()
426 hookBufferLine.reserve(G_CHUNK_SIZE); in ExportHookReadableText()
532 ebpfBufferLine.reserve(G_CHUNK_SIZE); in ExportEbpfReadableText()

Completed in 6 milliseconds