3 ms·
As usual, erlang does it better: http://www.erlang.org/doc/man/erlang.html#system_info_cpu_topology http://www.erlang.org/doc/man/erlang.html#system_info_cpu_to
by seiji 11y ago
As usual, erlang does it better: http://www.erlang.org/doc/man/erlang.html#system_info_cpu_topology http://www.erlang.org/doc/man/erlang.html#system_info_cpu_to... and http://www.erlang.org/doc/man/erlang.html#logical_processors http://www.erlang.org/doc/man/erlang.html#logical_processors