

def get_system_per_cpu_times():
    'Return system CPU times as a named tuple'
    ret = []
    for cpu_t in _psutil_osx.get_system_per_cpu_times():
        (user, nice, system, idle) = cpu_t
        item = _cputimes_ntuple(user, nice, system, idle)
        ret.append(item)
    return ret

dataset/ETHPy150Open packages/psutil/psutil/_psosx.py get_system_per_cpu_times/original