point to current governor in statistics

This commit is contained in:
2025-04-13 10:30:48 +02:00
parent a07fd72c74
commit a374e77469
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -60,6 +60,8 @@ class GovernorControl(AppClass):
def log_statistics(self) -> None:
_log_dict = {}
for key, value in self._governor_statistics.items():
if key == self.current_governor.name:
key = f"{key} (current)"
_log_dict[key] = format_time_ns(value)
self.log.info("governor statistics: %s", str(_log_dict))
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "cpu_governor_auto_adjust"
version = "0.5.23"
version = "0.5.24"
description = "This application has been developed to automatically change cpu governor based on certain triggers."
authors = [
{ name = "Martin Reurekas", email = "martin@semrks.nl" }