Searched refs:G_CHUNK_SIZE (Results 1 - 6 of 6) sorted by relevance
/developtools/smartperf_host/trace_streamer/test/unittest/base/ |
H A D | export_test.cpp | 65 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 D | export_test.h | 25 constexpr size_t G_CHUNK_SIZE = 1024 * 1024; member
|
/developtools/smartperf_host/trace_streamer/src/base/ |
H A D | ts_common.h | 27 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 D | rpc_server.cpp | 154 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 D | main.cpp | 235 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 D | trace_data_cache.cpp | 336 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