Home
last modified time | relevance | path

Searched refs:HostTracer (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/internal/cpu/
Dhost_tracer.cc28 /* static */ std::unique_ptr<HostTracer> HostTracer::Create( in Create()
30 return absl::WrapUnique(new HostTracer(host_trace_level)); in Create()
32 HostTracer::HostTracer(int host_trace_level) in HostTracer() function in tensorflow::profiler::cpu::HostTracer
35 HostTracer::~HostTracer() { Stop().IgnoreError(); } in ~HostTracer()
37 Status HostTracer::Start() { in Start()
48 Status HostTracer::Stop() { in Stop()
59 Status HostTracer::CollectData(RunMetadata* run_metadata) { in CollectData()
65 Status HostTracer::CollectDataToCollector( in CollectDataToCollector()
Dhost_tracer.h32 class HostTracer : public ProfilerInterface {
34 static std::unique_ptr<HostTracer> Create(int host_trace_level);
36 ~HostTracer();
51 explicit HostTracer(int host_trace_level);
Dhost_tracer_test.cc77 auto tracer = HostTracer::Create(/*host_trace_level=*/1); in TEST()
115 auto tracer = HostTracer::Create(/*host_trace_level=*/1); in TEST()
/external/tensorflow/tensorflow/core/platform/default/
Ddevice_tracer.cc409 std::unique_ptr<profiler::cpu::HostTracer> host_tracer_ GUARDED_BY(mu_);
414 host_tracer_ = profiler::cpu::HostTracer::Create(2); in DeviceTracerImpl()