MCPcopy Create free account
hub / github.com/apache/impala / ReplayDirectory

Method ReplayDirectory

be/src/runtime/io/data-cache-trace.cc:291–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289}
290
291Status TraceReplayer::ReplayDirectory(string directory) {
292 DCHECK(initialized_);
293 vector<string> trace_files;
294 RETURN_IF_ERROR(
295 SimpleLogger::GetLogFiles(move(directory), TRACE_FILE_PREFIX, &trace_files));
296 for (const string& trace_file : trace_files) {
297 RETURN_IF_ERROR(ReplayFile(trace_file));
298 }
299 return Status::OK();
300}
301
302void TraceReplayer::UpdateTraceStats(const TraceEvent& entry) {
303 switch (entry.type) {

Callers 3

mainFunction · 0.80
TEST_PFunction · 0.80
TEST_FFunction · 0.80

Calls 2

moveFunction · 0.85
OKFunction · 0.85

Tested by 2

TEST_PFunction · 0.64
TEST_FFunction · 0.64