MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Stop

Method Stop

tensorflow/core/platform/default/device_tracer.cc:399–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397}
398
399Status DeviceTracer::Stop() {
400 VLOG(1) << "DeviceTracer::Stop";
401 mutex_lock l(mu_);
402 if (!enabled_) {
403 return Status::OK();
404 }
405 cupti_hook_.reset();
406 tracing::ScopedAnnotation::Enable(false);
407
408 enabled_ = false;
409 return Status::OK();
410}
411
412class CudaEventCollector {
413 struct DeviceInfo {

Callers 1

TEST_FFunction · 0.45

Calls 1

resetMethod · 0.45

Tested by 1

TEST_FFunction · 0.36