Home
last modified time | relevance | path

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

/external/deqp-deps/SPIRV-Tools/source/util/
Dtimer.h298 cpu_time_(0), in Timer()
310 if (cpu_time_ >= 0 && Timer::CPUTime() >= 0) in Stop()
311 cpu_time_ += Timer::CPUTime(); in Stop()
313 cpu_time_ = -1; in Stop()
343 double CPUTime() override { return cpu_time_; } in CPUTime()
364 double cpu_time_;
/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dtimer.h298 cpu_time_(0), in Timer()
310 if (cpu_time_ >= 0 && Timer::CPUTime() >= 0) in Stop()
311 cpu_time_ += Timer::CPUTime(); in Stop()
313 cpu_time_ = -1; in Stop()
343 double CPUTime() override { return cpu_time_; } in CPUTime()
364 double cpu_time_;
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/util/
Dtimer.h298 cpu_time_(0), in Timer()
310 if (cpu_time_ >= 0 && Timer::CPUTime() >= 0) in Stop()
311 cpu_time_ += Timer::CPUTime(); in Stop()
313 cpu_time_ = -1; in Stop()
343 double CPUTime() override { return cpu_time_; } in CPUTime()
364 double cpu_time_;
/external/webrtc/video/
Dvideo_analyzer.cc107 cpu_time_(0), in VideoAnalyzer()
405 cpu_time_ -= rtc::GetProcessCpuTimeNanos(); in StartMeasuringCpuProcessTime()
411 cpu_time_ += rtc::GetProcessCpuTimeNanos(); in StopMeasuringCpuProcessTime()
417 cpu_time_ += rtc::GetThreadCpuTimeNanos(); in StartExcludingCpuThreadTime()
422 cpu_time_ -= rtc::GetThreadCpuTimeNanos(); in StopExcludingCpuThreadTime()
427 return static_cast<double>(cpu_time_) / wallclock_time_ * 100.0; in GetCpuUsagePercent()
Dvideo_analyzer.h290 int64_t cpu_time_ RTC_GUARDED_BY(cpu_measurement_lock_);
/external/webrtc/modules/video_coding/codecs/test/
Dvideocodec_test_fixture_impl.cc356 cpu_time_ -= rtc::GetProcessCpuTimeNanos(); in Start()
362 cpu_time_ += rtc::GetProcessCpuTimeNanos(); in Stop()
375 return static_cast<double>(cpu_time_) / wallclock_time_ * 100.0; in GetUsagePercent()
379 int64_t cpu_time_ = 0; member in webrtc::test::VideoCodecTestFixtureImpl::CpuProcessTime
/external/webrtc/test/pc/e2e/analyzer/video/
Ddefault_video_quality_analyzer.cc914 cpu_time_ -= rtc::GetProcessCpuTimeNanos(); in StartMeasuringCpuProcessTime()
920 cpu_time_ += rtc::GetProcessCpuTimeNanos(); in StopMeasuringCpuProcessTime()
926 cpu_time_ += rtc::GetThreadCpuTimeNanos(); in StartExcludingCpuThreadTime()
931 cpu_time_ -= rtc::GetThreadCpuTimeNanos(); in StopExcludingCpuThreadTime()
936 return static_cast<double>(cpu_time_) / wallclock_time_ * 100.0; in GetCpuUsagePercent()
Ddefault_video_quality_analyzer.h554 int64_t cpu_time_ RTC_GUARDED_BY(cpu_measurement_lock_) = 0;