Searched refs:ncpus (Results 1 - 3 of 3) sorted by relevance

/openjdk7/hotspot/src/share/vm/runtime/
H A Dvm_version.cpp292 unsigned int ncpus = (unsigned int) os::active_processor_count(); local
293 return (ncpus <= switch_pt) ?
294 ncpus :
295 (switch_pt + ((ncpus - switch_pt) * num) / den);
H A Dsafepoint.cpp219 int ncpus = os::processor_count() ; local
311 // Spin = (((ncpus-1) * M) + K) + F(still_running)
323 // Instead of (ncpus > 1) consider either (still_running < (ncpus + EPSILON)) or
324 // ((still_running + _waiting_to_block - TryingToBlock)) < ncpus)
326 if (ncpus > 1 && steps < SafepointSpinBeforeYield) {
/openjdk7/jdk/src/solaris/native/com/sun/management/
H A DMacosxOperatingSystem.c136 jint ncpus = JVM_ActiveProcessorCount(); local
137 jlong time = TIME_VALUE_TO_MICROSECONDS(now) * ncpus;

Completed in 125 milliseconds