| 33 | long retries = 0; |
| 34 | map<const char*, long> production_stats; |
| 35 | virtual void visit(struct prod *p) { |
| 36 | nodes++; |
| 37 | if (p->level > maxlevel) |
| 38 | maxlevel = p->level; |
| 39 | production_stats[typeid(*p).name()]++; |
| 40 | retries += p->retries; |
| 41 | } |
| 42 | void report() { |
| 43 | cerr << "production statistics" << endl; |
| 44 | vector<pair<const char *, long> > report; |
nothing calls this directly
no outgoing calls
no test coverage detected