point to current governor in statistics
This commit is contained in:
@@ -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
@@ -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" }
|
||||
|
||||
Reference in New Issue
Block a user