bench_stats.py 文件源码

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

项目:composability_bench 作者: IntelPython 项目源码 文件源码
def run_tbbpool(n, body):
    """TBB.Pool"""
    from TBB import Pool
    global reused_pool, numthreads
    if 'reused_pool' not in globals():
        log.debug("Creating TBB.Pool(%s)" % numthreads)
        reused_pool = Pool(int(numthreads))
    reused_pool.map(body, n)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号