Home
last modified time | relevance | path

Searched refs:Profiler (Results 1 – 13 of 13) sorted by relevance

/hardware/google/camera/common/hal/hidl_service/
Dhidl_profiler.cc36 using ::google::camera_common::Profiler;
123 latency_profiler_->Start(kFirstFrame, Profiler::kInvalidRequestId); in FirstFrameStart()
124 latency_profiler_->Start(kHalTotal, Profiler::kInvalidRequestId); in FirstFrameStart()
131 latency_profiler_->End(kFirstFrame, Profiler::kInvalidRequestId); in FirstFrameEnd()
132 latency_profiler_->End(kHalTotal, Profiler::kInvalidRequestId); in FirstFrameEnd()
144 void SetLatencyProfiler(std::unique_ptr<Profiler> profiler) override { in SetLatencyProfiler()
152 latency_profiler_->Start(kOverall, Profiler::kInvalidRequestId); in SetLatencyProfiler()
160 void SetFpsProfiler(std::unique_ptr<Profiler> profiler) override { in SetFpsProfiler()
172 std::shared_ptr<Profiler> CreateLatencyProfiler() { in CreateLatencyProfiler()
173 if (latency_flag_ == Profiler::SetPropFlag::kDisable) { in CreateLatencyProfiler()
[all …]
Dhidl_profiler.h31 HidlScopedProfiler(std::shared_ptr<google::camera_common::Profiler> profiler,
38 std::shared_ptr<google::camera_common::Profiler> profiler_;
71 std::unique_ptr<google::camera_common::Profiler> profiler) = 0;
75 std::unique_ptr<google::camera_common::Profiler> profiler) = 0;
/hardware/google/camera/common/profiler/
Dprofiler.h142 class Profiler {
148 static std::shared_ptr<Profiler> Create(int option);
150 virtual ~Profiler() = default;
214 Profiler() = default;
225 ScopedProfiler(std::shared_ptr<Profiler> profiler, const std::string target, in ScopedProfiler()
233 ScopedProfiler(std::shared_ptr<Profiler> profiler, const std::string target) in ScopedProfiler()
235 request_id_ = Profiler::kInvalidRequestId; in ScopedProfiler()
241 profiler_ = Profiler::Create(option); in ScopedProfiler()
242 request_id_ = Profiler::kInvalidRequestId; in ScopedProfiler()
251 std::shared_ptr<Profiler> profiler_;
Dprofiler.cc48 class ProfilerImpl : public Profiler {
579 class ProfilerDummy : public Profiler {
598 std::shared_ptr<Profiler> Profiler::Create(int option) { in Create()
/hardware/google/camera/common/hal/hwl_interface/
Dcamera_device_hwl.h80 virtual std::unique_ptr<google::camera_common::Profiler> GetProfiler( in GetProfiler()
Dcamera_device_session_hwl.h169 virtual std::unique_ptr<google::camera_common::Profiler> GetProfiler( in GetProfiler()
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device.h86 std::unique_ptr<google::camera_common::Profiler> GetProfiler(uint32_t camere_id,
Dcamera_device.cc308 std::unique_ptr<google::camera_common::Profiler> CameraDevice::GetProfiler( in GetProfiler()
310 if (option & google::camera_common::Profiler::SetPropFlag::kCustomProfiler) { in GetProfiler()
Dcamera_device_session.h128 std::unique_ptr<google::camera_common::Profiler> GetProfiler(uint32_t camere_id,
Dcamera_device_session.cc1885 std::unique_ptr<google::camera_common::Profiler>
/hardware/google/camera/common/hal/tests/
Dmock_device_session_hwl.h105 std::unique_ptr<google::camera_common::Profiler> GetProfiler(
200 MOCK_METHOD2(GetProfiler, std::unique_ptr<google::camera_common::Profiler>(
Dmock_device_hwl.h118 std::unique_ptr<google::camera_common::Profiler> GetProfiler( in GetProfiler()
Dmock_device_session_hwl.cc285 std::unique_ptr<google::camera_common::Profiler>