You are viewing a single comment's thread from:RE: Python 计算程序CPU时间以及运行时间View the full contextvictory622 (66)in #python • 7 years ago 这个知识点迟早会用上。 cpu_start = time.clock() process_start = time.process_time() perf_start = time.perf_counter()