Home
last modified time | relevance | path

Searched refs:profiler_ (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/lite/tools/benchmark/
Dprofiling_listener.cc33 profiler_(max_num_entries) { in ProfilingListener()
35 interpreter_->SetProfiler(&profiler_); in ProfilingListener()
40 profiler_.Reset(); in ProfilingListener()
41 profiler_.StartProfiling(); in ProfilingListener()
48 profiler_.StopProfiling(); in OnBenchmarkStart()
49 auto profile_events = profiler_.GetProfileEvents(); in OnBenchmarkStart()
51 profiler_.Reset(); in OnBenchmarkStart()
56 profiler_.Reset(); in OnSingleRunStart()
57 profiler_.StartProfiling(); in OnSingleRunStart()
62 profiler_.StopProfiling(); in OnSingleRunEnd()
[all …]
Dprofiling_listener.h55 profiling::BufferedProfiler profiler_; variable
/external/tensorflow/tensorflow/lite/micro/
Dmicro_profiler.h98 : profiler_(profiler) { in ScopedMicroProfiler()
99 if (profiler_ != nullptr) { in ScopedMicroProfiler()
100 event_handle_ = profiler_->BeginEvent(tag); in ScopedMicroProfiler()
105 if (profiler_ != nullptr) { in ~ScopedMicroProfiler()
106 profiler_->EndEvent(event_handle_); in ~ScopedMicroProfiler()
112 MicroProfiler* profiler_ = nullptr; variable
/external/tensorflow/tensorflow/lite/core/api/
Dprofiler.h108 : profiler_(profiler), event_handle_(0) { in profiler_() function
110 event_handle_ = profiler_->BeginEvent(tag, event_type, event_metadata); in profiler_()
115 if (profiler_) { in ~ScopedProfile()
116 profiler_->EndEvent(event_handle_); in ~ScopedProfile()
121 Profiler* profiler_;
149 if (profiler_) { in set_runtime_status()
156 if (profiler_) { in ~ScopedRuntimeInstrumentationProfile()
157 profiler_->EndEvent(event_handle_, delegate_status_, interpreter_status_); in ~ScopedRuntimeInstrumentationProfile()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h307 profiler_.reset(nullptr); in SetProfiler()
310 profiler_.reset( in SetProfiler()
312 context_.profiler = profiler_.get(); in SetProfiler()
316 Profiler* GetProfiler() { return profiler_.get(); } in GetProfiler()
362 : profiler_(profiler), subgraph_index_(subgraph_index) {} in SubgraphAwareProfiler()
368 if (!profiler_) return 0; in BeginEvent()
369 return profiler_->BeginEvent(tag, event_type, event_metadata1, in BeginEvent()
374 if (!profiler_) return; in EndEvent()
375 profiler_->EndEvent(event_handle); in EndEvent()
380 if (!profiler_) return; in EndEvent()
[all …]
Dsubgraph.cc668 TFLITE_SCOPED_TAGGED_DEFAULT_PROFILE(profiler_.get(), "AllocateTensors"); in AllocateTensors()
1029 if (profiler_) op_name = GetTFLiteOpName(registration); in Invoke()
1030 TFLITE_SCOPED_TAGGED_OPERATOR_PROFILE(profiler_.get(), op_name, node_index); in Invoke()
1510 TFLITE_SCOPED_TAGGED_DEFAULT_PROFILE(profiler_.get(), in ModifyGraphWithDelegate()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dhlo_execution_profiler.h98 : profiler_(profiler), index_(index) { in ScopedInstructionProfiler()
105 profiler_->FinishHloInstruction(*index_); in ~ScopedInstructionProfiler()
110 HloExecutionProfiler* profiler_;
/external/libchrome/base/profiler/
Dstack_sampling_profiler_unittest.cc1458 profiler_(thread_id, in ProfilerThread()
1468 profiler_.Start(); in Run()
1482 StackSamplingProfiler profiler_; member in base::ProfilerThread