]> git.lizzy.rs Git - rust.git/blobdiff - src/ci/cpu-usage-over-time.py
Rollup merge of #69766 - skade:make-point-copy-in-add-documentation, r=shepmaster
[rust.git] / src / ci / cpu-usage-over-time.py
index daf21670b33391d49cbe9f26d6c7fd7b347f6943..78ac060368193964fb3fb8420e63894810802863 100644 (file)
@@ -148,11 +148,11 @@ else:
     print('unknown platform', sys.platform)
     sys.exit(1)
 
-cur_state = State();
+cur_state = State()
 print("Time,Idle")
 while True:
-    time.sleep(1);
-    next_state = State();
+    time.sleep(1)
+    next_state = State()
     now = datetime.datetime.utcnow().isoformat()
     idle = next_state.idle_since(cur_state)
     print("%s,%s" % (now, idle))