unix.linux.proc: /proc/cpuinfo is updated in real time and can change based on throttling options. Don't cache it.

db4
Doug Coleman 2013-04-24 13:38:09 -07:00
parent dd32064691
commit 7f118e13c0
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ TUPLE: processor-info
} spread
] input<sequence processor-info boa ;
MEMO: parse-proc-cpuinfo ( -- seq )
: parse-proc-cpuinfo ( -- seq )
"/proc/cpuinfo" utf8 file-lines
{ "" } split harvest [ lines>processor-info ] map ;