AttributeError:module ‘time’ has no attribute ‘clock’ 报错原因: python3.8中不再支持clock(),可以用perf_counter()代替