Home
last modified time | relevance | path

Searched refs:perfBufferLine (Results 1 – 2 of 2) sorted by relevance

/developtools/smartperf_host/trace_streamer/src/trace_data/
Dtrace_data_cache.cpp324 std::string perfBufferLine; in ExportPerfReadableText() local
325 perfBufferLine.reserve(G_CHUNK_SIZE); in ExportPerfReadableText()
327 ExportPerfSampleToFile(perfBufferLine, perfFd, outputName, row); in ExportPerfReadableText()
328 TS_CHECK_TRUE(write(perfFd, perfBufferLine.data(), perfBufferLine.size()) != -1, 1, in ExportPerfReadableText()
330 perfBufferLine.clear(); in ExportPerfReadableText()
331 if (++row != perfSample_.Size() && perfBufferLine.size() < FLUSH_CHUNK_THRESHOLD) { in ExportPerfReadableText()
338 void TraceDataCache::ExportPerfSampleToFile(std::string &perfBufferLine, in ExportPerfSampleToFile() argument
363 perfBufferLine.append(perfTaskName); in ExportPerfSampleToFile()
364 perfBufferLine.append(" ").append(std::to_string(perfTaskId)); in ExportPerfSampleToFile()
365 perfBufferLine.append(" [") in ExportPerfSampleToFile()
[all …]
Dtrace_data_cache.h79 void ExportPerfSampleToFile(std::string &perfBufferLine,