编程之美-1.1 CPU 曲线
摘要:
解法二: python import time def cpu_curve(): busyTime = 50 50 ms的效果比10ms的效果要好 idleTime = busyTime startTime = 0 i = 0 while True: startTime = time.time() 阅读全文
posted @ 2019-05-10 13:24 Frank_Allen 阅读(184) 评论(0) 推荐(0) 编辑