【问题标题】:What does {built-in method select} do in Python 3?{built-in method select} 在 Python 3 中做了什么?
【发布时间】:2013-09-20 07:53:03
【问题描述】:

使用cProfilepstats 分析我的应用程序时,其中一行显示:

ncalls  tottime  percall  cumtime  percall filename:lineno(function)
     6    2.940    0.490    2.940    0.490 {built-in method select}

这个方法有什么作用,什么时候执行?

【问题讨论】:

标签: python profiling built-in cprofile


【解决方案1】:

select.select 是 Unix select() 系统调用的接口。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-09-10
    • 2010-09-16
    • 1970-01-01
    • 2019-01-13
    相关资源
    最近更新 更多