use iterator to loop over first 1000 entries (#2359)

old-commit-hash: 47dfa524565301969db32ab2bee4b089d985e87d
This commit is contained in:
Willem Melching
2020-10-19 13:44:36 +02:00
committed by GitHub
parent 40274818ea
commit 5c09e8e61b
2 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ if __name__ == "__main__":
if sm.updated['thermal']:
t = sm['thermal']
last_temp = np.mean([t.cpu0, t.cpu1, t.cpu2, t.cpu3]) / 10.
last_temp = np.mean(t.cpu)
last_mem = t.memUsedPercent
if sm.updated['procLog']: