def METHOD_NAME(*args, **kwargs):
    nonlocal total_time, call_count
    if group_name == "lint":
        pack_name, run_count = start_measure_pack(args)
    tic = time.perf_counter()
    value = func(*args, **kwargs)
    toc = time.perf_counter()
    elapsed_time = toc - tic
    total_time += elapsed_time
    call_count += 1
    if group_name == "lint":
        end_measure_pack(pack_name, run_count, elapsed_time)
    return value