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

This commit is contained in:
Willem Melching
2020-10-19 13:44:36 +02:00
committed by GitHub
parent c5e2d0cd61
commit 47dfa52456
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']: