MCPcopy Create free account
hub / github.com/1a1a11a/libCacheSim / dump

Method dump

libCacheSim/traceAnalyzer/experimental/probAtAge.cpp:32–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void ProbAtAge::dump(string &path_base) {
33 ofstream ofs2(path_base + ".probAtAge_w" + std::to_string(time_window_),
34 ios::out | ios::trunc);
35 ofs2 << "# " << path_base << "\n";
36 ofs2 << "# reuse access age, create age: req_cnt\n";
37 for (auto &p : ac_age_req_cnt_) {
38 ofs2 << p.first.first * time_window_ << "," << p.first.second * time_window_
39 << ":" << p.second << "\n";
40 }
41}
42
43}; // namespace traceAnalyzer

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected