klok_asyncio.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:esp32 作者: smeenka 项目源码 文件源码
def heap():
    yield
    while True:
        cpuload = (10000 - asyncio.sched.idlecount) / 100
        cpuidle = asyncio.sched.idlecount / 10
        asyncio.sched.idlecount = 0
        log.info ("Memory free: %d cpu idlecount/sec: %d %% time:%s" , gc.mem_free() , cpuidle,  klok.toString() )
        yield
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号