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

Method Start

tensorflow/core/profiler/internal/cpu/host_tracer.cc:66–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64HostTracer::~HostTracer() { Stop().IgnoreError(); }
65
66Status HostTracer::Start() {
67 if (recording_) {
68 return Status(error::INTERNAL, "TraceMeRecorder already started");
69 }
70 recording_ = TraceMeRecorder::Start(host_trace_level_);
71 if (!recording_) {
72 return Status(error::INTERNAL, "Failed to start TraceMeRecorder");
73 }
74 return Status::OK();
75}
76
77Status HostTracer::Stop() {
78 if (!recording_) {

Callers 2

ProfilerSessionMethod · 0.45
TESTFunction · 0.45

Calls 1

StatusClass · 0.50

Tested by 1

TESTFunction · 0.36