Searched refs:cpu_time_ (Results 1 – 8 of 8) sorted by relevance
298 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_;
107 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()
290 int64_t cpu_time_ RTC_GUARDED_BY(cpu_measurement_lock_);
356 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
914 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()
554 int64_t cpu_time_ RTC_GUARDED_BY(cpu_measurement_lock_) = 0;