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

Method log_depth

src/DFSRndNumGenerator.cpp:390–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

388}
389
390void
391DFSRndNumGenerator::log_depth(int d, const string *where, const char *log)
392{
393 std::ostringstream ss1;
394
395 if (log)
396 ss1 << "[" << log << "]";
397
398 if (where)
399 ss1 << d << "(" << *where << ", pos = " << current_pos_ << ", current_decision_depth=" << decision_depth_ << ")->";
400 else
401 ss1 << d << "(..., pos = " << current_pos_ << ", current_decision_depth=" << decision_depth_ << ")->";
402 trace_string_ += ss1.str();
403}
404
405void
406DFSRndNumGenerator::init_states(int size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected