def get_system_per_cpu_times():
    cpus = []
    f = open('/proc/stat', 'r')
    # get rid of the first line who refers to system wide CPU stats
    try:
        f.readline()
        for line in f.readlines():
            if line.startswith('cpu'):
                values = line.split()[1:8]
                values = tuple([float(x) / _CLOCK_TICKS for x in values])
                entry = nt_sys_cputimes(*values[:7])
                cpus.append(entry)
        return cpus
    finally:
        f.close()


# --- system disk functions
Splits a dunderkey into 2 parts
dataset/ETHPy150Open packages/psutil/psutil/_pslinux.py/get_system_per_cpu_times--crossover with--dataset/ETHPy150Open naiquevin/lookupy/lookupy/dunderkey.py/dunder_partition