

def _get_boot_time():
    'Return system boot time (epoch in seconds)'
    f = open('/proc/stat', 'r')
    try:
        for line in f:
            if line.startswith('btime'):
                return float(f.strip().split()[1])
        raise RuntimeError('line not found')
    finally:
        f.close()

dataset/ETHPy150Open packages/psutil/psutil/_pslinux.py _get_boot_time/VarMisuse@44/75 `line`->`f`