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

/bind-9.6-ESV-R11/lib/isc/win32/
H A Dos.c38 long ncpus; local
40 ncpus = SystemInfo.dwNumberOfProcessors;
41 if (ncpus <= 0)
42 ncpus = 1;
44 return ((unsigned int)ncpus);
/bind-9.6-ESV-R11/lib/isc/unix/
H A Dos.c79 long ncpus = 0; local
82 ncpus = hpux_ncpus();
84 ncpus = sysconf_ncpus();
87 if (ncpus <= 0)
88 ncpus = sysctl_ncpus();
90 if (ncpus <= 0)
91 ncpus = 1;
93 return ((unsigned int)ncpus);
/bind-9.6-ESV-R11/lib/isc/tests/
H A Disctest.c38 int ncpus; variable
88 ncpus = isc_os_ncpus();
90 ncpus = 1;
93 CHECK(isc_taskmgr_create(mctx, ncpus, 0, &taskmgr));
H A Disctest.h46 extern int ncpus;
/bind-9.6-ESV-R11/lib/dns/tests/
H A Ddnstest.c59 int ncpus; variable
96 ncpus = isc_os_ncpus();
98 ncpus = 1;
101 CHECK(isc_taskmgr_create(mctx, ncpus, 0, &taskmgr));
H A Ddnstest.h52 extern int ncpus;

Completed in 17 milliseconds