point to current governor in statistics
This commit is contained in:
@@ -60,6 +60,8 @@ class GovernorControl(AppClass):
|
|||||||
def log_statistics(self) -> None:
|
def log_statistics(self) -> None:
|
||||||
_log_dict = {}
|
_log_dict = {}
|
||||||
for key, value in self._governor_statistics.items():
|
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)
|
_log_dict[key] = format_time_ns(value)
|
||||||
self.log.info("governor statistics: %s", str(_log_dict))
|
self.log.info("governor statistics: %s", str(_log_dict))
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "cpu_governor_auto_adjust"
|
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."
|
description = "This application has been developed to automatically change cpu governor based on certain triggers."
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Martin Reurekas", email = "martin@semrks.nl" }
|
{ name = "Martin Reurekas", email = "martin@semrks.nl" }
|
||||||
|
|||||||
Reference in New Issue
Block a user