10 2022 档案
摘要: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.
阅读全文
摘要:import os import re import argparse import sys import time SLEEP_DURATION = 0.001 # 1ms MAX_LINE_LENGTH = 1024 * 1024 * 128 # 128MB enable_color = Fal
阅读全文

浙公网安备 33010602011771号