aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron37/files/patch-chrome_browser_metrics_power_process__monitor.h
blob: 718da081e6855247272a04e353121ce136cc9a79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- chrome/browser/metrics/power/process_monitor.h.orig	2024-04-15 20:33:47 UTC
+++ chrome/browser/metrics/power/process_monitor.h
@@ -76,7 +76,7 @@ class ProcessMonitor : public content::BrowserChildPro
     std::optional<double> cpu_usage;
 
 #if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
-    BUILDFLAG(IS_AIX)
+    BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
     // Returns the number of average idle cpu wakeups per second since the last
     // time the metric was sampled.
     int idle_wakeups = 0;