def cpuinfo():
cpuinfo=OrderedDict()<EOL>procinfo=OrderedDict()<EOL>nprocs = <NUM_LIT:0><EOL>with open('<STR_LIT>') as f:<EOL><INDENT>for line in f:<EOL><INDENT>if not line.strip():<EOL><INDENT>cpuinfo['<STR_LIT>' % nprocs] = procinfo<EOL>nprocs=nprocs+<NUM_LIT:1><EOL>procinfo=OrderedDict()<EOL><DEDENT>else:<EOL><INDENT>if len(line.split('<STR_LIT::>')) == <NUM_LIT:2>:<EOL><INDENT>procinfo[line.split('<STR_LIT::>')[<NUM_LIT:0>].strip()] = line.split('<STR_LIT::>')[<NUM_LIT:1>].strip()<EOL><DEDENT>else:<EOL><INDENT>procinfo[line.split('<STR_LIT::>')[<NUM_LIT:0>].strip()] = '<STR_LIT>'<EOL><DEDENT><DEDENT><DEDENT><DEDENT>return cpuinfo<EOL>
Return the information in /proc/cpuinfo
    as a dictionary in the following format:
    cpu_info['proc0']={...}
    cpu_info['proc1']={...}