MCPcopy Create free account
hub / github.com/csmith-project/csmith / output_expr_statistics

Method output_expr_statistics

src/Bookkeeper.cpp:253–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void
254Bookkeeper::output_expr_statistics(std::ostream &out)
255{
256 size_t i;
257 stat_expr_depths();
258 formated_output(out, "max expression depth: ", (expr_depth_cnts.size() - 1));
259 out << "breakdown:" << endl;
260 for (i=0; i<expr_depth_cnts.size(); i++) {
261 if (expr_depth_cnts[i]) {
262 out << " depth: " << i << ", occurrence: " << expr_depth_cnts[i] << endl;
263 }
264 }
265}
266
267void
268Bookkeeper::output_pointer_statistics(std::ostream &out)

Callers

nothing calls this directly

Calls 2

formated_outputFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected