From 639afe599e361a3ce68647bfb720ca2ab88e5316 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ber=C3=A1nek?= Date: Fri, 25 Oct 2024 08:43:25 +0200 Subject: [PATCH] Fix CPU utilization data type in benchmarks --- benchmarks/src/monitoring/record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/src/monitoring/record.py b/benchmarks/src/monitoring/record.py index 43ded1cdc..3073f8ab6 100644 --- a/benchmarks/src/monitoring/record.py +++ b/benchmarks/src/monitoring/record.py @@ -88,7 +88,7 @@ def record_processes( try: memory_info = process.memory_info() cpu_utilization = process.cpu_percent() - cpu_utilization_children = 0 + cpu_utilization_children = 0.0 # We need to cache the child processes so that `.cpu_percent()` returns the correct # results.