|
@@ -24,11 +24,11 @@ diff --git a/python/mozbuild/mozbuild/controller/building.py b/python/mozbuild/m
|
|
+ poll_interval=0.1,
|
|
+ poll_interval=0.1,
|
|
+ metadata={"CPUName": get_cpu_brand()},
|
|
+ metadata={"CPUName": get_cpu_brand()},
|
|
+ )
|
|
+ )
|
|
|
|
++ else:
|
|
+ self.resources = SystemResourceMonitor(
|
|
+ self.resources = SystemResourceMonitor(
|
|
+ poll_interval=1.0,
|
|
+ poll_interval=1.0,
|
|
+ metadata={"CPUName": get_cpu_brand()},
|
|
+ metadata={"CPUName": get_cpu_brand()},
|
|
+ )
|
|
+ )
|
|
-+ else:
|
|
|
|
self._resources_started = False
|
|
self._resources_started = False
|
|
|
|
|
|
self.tiers = TierStatus(self.resources)
|
|
self.tiers = TierStatus(self.resources)
|