Skip to content

Commit

Permalink
Merge pull request #565 from philkuz/patch-1
Browse files Browse the repository at this point in the history
Fix name of power stats in jtop().stats()
  • Loading branch information
rbonghi authored Sep 5, 2024
2 parents 0191a2d + 3af7aac commit b99eb66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jtop/jtop.py
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ def stats(self):
# Load all current power from each power rail
if self.power:
for name, rail in self.power['rail'].items():
stats["Power {name}".format(name=temp)] = rail['power']
stats["Power {name}".format(name=name)] = rail['power']
# Load total current power
stats['Power TOT'] = self.power['tot']['power']
# -- jetson_clocks --
Expand Down

0 comments on commit b99eb66

Please sign in to comment.