摘要: import time class Timer: def __init__(self, func=time.perf_counter): self.elapsed = 0.0 self._func = func self._start = None def start(self): if self. 阅读全文
posted @ 2022-10-18 16:52 老鲜肉 阅读(96) 评论(0) 推荐(0) 编辑