async def METHOD_NAME():
    while run_flag[0]:
        snap = received_count[0]
        perf = (snap - last_received_count[0]) / check_interval
        last_received_count[0] = snap
        all_perf_records.append(perf)
        await asyncio.sleep(check_interval)