HomeSort by relevance Sort by last modified time
    Searched defs:ncpu (Results 1 - 2 of 2) sorted by null

  /external/chromium/base/
sys_info_openbsd.cc 16 int ncpu; local
17 size_t size = sizeof(ncpu);
18 if (sysctl(mib, 2, &ncpu, &size, NULL, 0) == -1) {
22 return ncpu;
  /external/netperf/
netcpu_kstat.c 75 static int ncpu = 0; local
145 ncpu = 0;
167 fprintf(where,"cpu_ks[%d] getting %p\n",ncpu,ks);
171 cpu_ks[ncpu] = ks;
172 ncpu++;
173 if (ncpu > lib_num_loc_cpus)
178 ncpu,lib_num_loc_cpus);
183 /* note that ncpu could be less than ncpus, but that's okay */

Completed in 131 milliseconds