Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sysmontask/cpu.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def cpuInit(self):
print("Failed to get Cache information")

# CPU Frequency
self.speed=ps.cpu_freq()
self.speed=max(ps.cpu_freq(1))
self.cpuMxSpeedLabelValue.set_text('{:.2f} GHz'.format(self.speed[2]/1000))

# Number fo drawing widgets to put in one column for different logical cpu counts
Expand Down Expand Up @@ -226,4 +226,4 @@ def cpuUpdate(self):
self.cpuUtilArray.insert(0,self.cpuUtil)
for i in range(self.cpu_logical_cores):
self.cpu_logical_cores_util_arrays[i].pop()
self.cpu_logical_cores_util_arrays[i].insert(0,temp[i])
self.cpu_logical_cores_util_arrays[i].insert(0,temp[i])