/* * call-seq: * CPU.num_cpu * * Returns the number of cpu's on your system. Note that each core on * multi-core systems are counted as a cpu, e.g. one dual core cpu would * return 2, not 1. */ static VALUE cpu_num(VALUE klass){