MCPcopy Create free account
hub / github.com/anse1/sqlsmith / report

Method report

log.cc:42–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40 retries += p->retries;
41 }
42 void report() {
43 cerr << "production statistics" << endl;
44 vector<pair<const char *, long> > report;
45 for (auto p : production_stats)
46 report.push_back(p);
47 stable_sort(report.begin(), report.end(),
48 [](const pair<std::string, long> &a,
49 const pair<std::string, long> &b)
50 { return a.second > b.second; });
51 for (auto p : report) {
52 cerr << p.second << "\t" << p.first << endl;
53 }
54 }
55};
56
57void stats_collecting_logger::generated(prod &query)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected