MCPcopy Create free account
hub / github.com/apache/singa / TimeProfilingDoExec

Method TimeProfilingDoExec

src/core/scheduler/scheduler.cc:297–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297void Graph::TimeProfilingDoExec(Node *curNode) {
298 if ((device_->verbosity() > 0) && (curNode->op_name_ != "Waiting") &&
299 (iteration_ >= device_->skip_iteration()))
300 device_->TimeProfilingDoExec(std::move(curNode->op_), 0, curNode);
301 else
302 device_->DoExec(std::move(curNode->op_), 0);
303}
304
305void Graph::EvaluateTimeElapsed(const TimePoint &start) {
306 if ((device_->verbosity() > 0) && (iteration_ > device_->skip_iteration())) {

Callers

nothing calls this directly

Calls 3

verbosityMethod · 0.80
skip_iterationMethod · 0.80
DoExecMethod · 0.45

Tested by

no test coverage detected