MCPcopy Create free account
hub / github.com/bytedance/bolt / OperatorTraceSummaryReader

Method OperatorTraceSummaryReader

bolt/exec/OperatorTraceReader.cpp:79–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79OperatorTraceSummaryReader::OperatorTraceSummaryReader(
80 std::string traceDir,
81 memory::MemoryPool* pool)
82 : traceDir_(std::move(traceDir)),
83 fs_(filesystems::getFileSystem(traceDir_, nullptr)),
84 pool_(pool),
85 summaryFile_(fs_->openFileForRead(getOpTraceSummaryFilePath(traceDir_))) {
86}
87
88OperatorTraceSummary OperatorTraceSummaryReader::read() const {
89 BOLT_CHECK_NOT_NULL(summaryFile_);

Callers

nothing calls this directly

Calls 3

getFileSystemFunction · 0.85
openFileForReadMethod · 0.45

Tested by

no test coverage detected