Searched refs:CpuOveruseMetrics (Results 1 – 5 of 5) sorted by relevance
61 struct CpuOveruseMetrics { struct62 CpuOveruseMetrics() : encode_usage_percent(-1) {} in CpuOveruseMetrics() argument71 virtual void CpuOveruseMetricsUpdated(const CpuOveruseMetrics& metrics) = 0; argument110 bool IsOverusing(const CpuOveruseMetrics& metrics);111 bool IsUnderusing(const CpuOveruseMetrics& metrics, int64_t time_now);131 CpuOveruseMetrics metrics_ GUARDED_BY(crit_);
291 CpuOveruseMetrics current_metrics; in Process()345 bool OveruseFrameDetector::IsOverusing(const CpuOveruseMetrics& metrics) { in IsOverusing()355 bool OveruseFrameDetector::IsUnderusing(const CpuOveruseMetrics& metrics, in IsUnderusing()
66 void CpuOveruseMetricsUpdated(const CpuOveruseMetrics& metrics) override { in CpuOveruseMetricsUpdated()111 CpuOveruseMetrics metrics_;
72 void CpuOveruseMetricsUpdated(const CpuOveruseMetrics& metrics) override;
183 const CpuOveruseMetrics& metrics) { in CpuOveruseMetricsUpdated()