Lines Matching refs:cpu
67 - /sys/devices/system/cpu/online and /sys/devices/system/cpu/possible
90 for i,cpu in enumerate(cpus):
93 'cpu family : 0\n' + \
97 'cpu MHz : {clock:0.3f}\n' + \
102 'cpu cores : {num_cpus}\n' + \
111 # Note: it would be nice to use cpu.clock, but it hasn't
119 file_append((procdir, 'stat'), 'cpu 0 0 0 0 0 0 0\n')
121 file_append((procdir, 'stat'), 'cpu%d 0 0 0 0 0 0 0\n' % i)
127 # Set up /sys/devices/system/cpu
128 cpudir = joinpath(sysdir, 'devices', 'system', 'cpu')
159 'cpu', 'cpu%d' % core_id)
178 cachedir = joinpath(fsdir, 'sys', 'devices', 'system', 'cpu',
179 'cpu%d' % i, 'cache')