HomeSort by: relevance | last modified time | path
    Searched defs:cpu_count (Results 1 - 10 of 10) sorted by relevancy

  /src/external/bsd/unbound/dist/testdata/
common.sh 8 # also included are wait_logfile, cpu_count, process_cpu_list, and
40 # cpu_count : get number of cpus in system
344 cpu_count() function
common.sh 8 # also included are wait_logfile, cpu_count, process_cpu_list, and
40 # cpu_count : get number of cpus in system
344 cpu_count() function
  /src/external/mit/libuv/dist/docs/code/multi-echo-server/
main.c 67 int cpu_count; local
68 uv_cpu_info(&info, &cpu_count);
69 uv_free_cpu_info(info, cpu_count);
71 child_worker_count = cpu_count;
73 workers = calloc(cpu_count, sizeof(struct child_worker));
74 while (cpu_count--) {
75 struct child_worker *worker = &workers[cpu_count];
main.c 67 int cpu_count; local
68 uv_cpu_info(&info, &cpu_count);
69 uv_free_cpu_info(info, cpu_count);
71 child_worker_count = cpu_count;
73 workers = calloc(cpu_count, sizeof(struct child_worker));
74 while (cpu_count--) {
75 struct child_worker *worker = &workers[cpu_count];
  /src/sys/kern/
subr_cpu.c 468 cpu_count(enum cpu_count idx, int64_t delta) function
496 enum cpu_count i;
subr_cpu.c 468 cpu_count(enum cpu_count idx, int64_t delta) function
496 enum cpu_count i;
  /src/sys/sys/
cpu_data.h 50 enum cpu_count { enum
245 #define CPU_COUNT(idx, d) \
257 cpu_count_get(enum cpu_count idx)
263 void cpu_count(enum cpu_count, int64_t);
cpu_data.h 50 enum cpu_count { enum
245 #define CPU_COUNT(idx, d) \
257 cpu_count_get(enum cpu_count idx)
263 void cpu_count(enum cpu_count, int64_t);
  /src/external/mit/libuv/dist/src/win/
util.c 534 DWORD cpu_count, i; local
541 cpu_count = 0;
547 cpu_count = system_info.dwNumberOfProcessors;
549 cpu_infos = uv__calloc(cpu_count, sizeof *cpu_infos);
555 sppi_size = cpu_count * sizeof(*sppi);
573 for (i = 0; i < cpu_count; i++) {
635 *cpu_count_ptr = cpu_count;
643 for (i = 0; i < cpu_count; i++)
util.c 534 DWORD cpu_count, i; local
541 cpu_count = 0;
547 cpu_count = system_info.dwNumberOfProcessors;
549 cpu_infos = uv__calloc(cpu_count, sizeof *cpu_infos);
555 sppi_size = cpu_count * sizeof(*sppi);
573 for (i = 0; i < cpu_count; i++) {
635 *cpu_count_ptr = cpu_count;
643 for (i = 0; i < cpu_count; i++)

Completed in 68 milliseconds