Searched refs:cpu_measurement_lock_ (Results 1 – 4 of 4) sorted by relevance
87 void StartExcludingCpuThreadTime() RTC_LOCKS_EXCLUDED(cpu_measurement_lock_);88 void StopExcludingCpuThreadTime() RTC_LOCKS_EXCLUDED(cpu_measurement_lock_);89 double GetCpuUsagePercent() RTC_LOCKS_EXCLUDED(cpu_measurement_lock_);275 RTC_ACQUIRED_BEFORE(cpu_measurement_lock_);289 Mutex cpu_measurement_lock_; variable290 int64_t cpu_time_ RTC_GUARDED_BY(cpu_measurement_lock_);291 int64_t wallclock_time_ RTC_GUARDED_BY(cpu_measurement_lock_);
404 MutexLock lock(&cpu_measurement_lock_); in StartMeasuringCpuProcessTime()410 MutexLock lock(&cpu_measurement_lock_); in StopMeasuringCpuProcessTime()416 MutexLock lock(&cpu_measurement_lock_); in StartExcludingCpuThreadTime()421 MutexLock lock(&cpu_measurement_lock_); in StopExcludingCpuThreadTime()426 MutexLock lock(&cpu_measurement_lock_); in GetCpuUsagePercent()
553 Mutex cpu_measurement_lock_; variable554 int64_t cpu_time_ RTC_GUARDED_BY(cpu_measurement_lock_) = 0;555 int64_t wallclock_time_ RTC_GUARDED_BY(cpu_measurement_lock_) = 0;
913 MutexLock lock(&cpu_measurement_lock_); in StartMeasuringCpuProcessTime()919 MutexLock lock(&cpu_measurement_lock_); in StopMeasuringCpuProcessTime()925 MutexLock lock(&cpu_measurement_lock_); in StartExcludingCpuThreadTime()930 MutexLock lock(&cpu_measurement_lock_); in StopExcludingCpuThreadTime()935 MutexLock lock(&cpu_measurement_lock_); in GetCpuUsagePercent()