python3 time 模块不再使用clock

AttributeError: module 'time' has no attribute 'clock'

因为python3 time 模块不再使用clock

改为 from time import perf_count

posted @ 2020-03-22 09:27  冷大绿  阅读(3446)  评论(0)    收藏  举报