Home
last modified time | relevance | path

Searched refs:model (Results 1 – 21 of 21) sorted by relevance

/libuv/src/unix/
H A Ddarwin.c185 char model[512]; in uv_cpu_info() local
194 size = sizeof(model); in uv_cpu_info()
195 if (sysctlbyname("machdep.cpu.brand_string", &model, &size, NULL, 0) && in uv_cpu_info()
196 sysctlbyname("hw.model", &model, &size, NULL, 0)) { in uv_cpu_info()
231 cpu_info->model = uv__strdup(model); in uv_cpu_info()
H A Dopenbsd.c188 char model[512]; in uv_cpu_info() local
196 size = sizeof(model); in uv_cpu_info()
197 if (sysctl(which, ARRAY_SIZE(which), &model, &size, NULL, 0)) in uv_cpu_info()
231 cpu_info->model = uv__strdup(model); in uv_cpu_info()
240 uv__free((*cpu_infos)[j].model); in uv_cpu_info()
H A Dnetbsd.c191 char model[512]; in uv_cpu_info() local
197 size = sizeof(model); in uv_cpu_info()
198 if (sysctlbyname("machdep.cpu_brand", &model, &size, NULL, 0) && in uv_cpu_info()
199 sysctlbyname("hw.model", &model, &size, NULL, 0)) { in uv_cpu_info()
235 cpu_info->model = uv__strdup(model); in uv_cpu_info()
H A Dfreebsd.c190 char model[512]; in uv_cpu_info() local
220 size = sizeof(model); in uv_cpu_info()
221 if (sysctlbyname(model_key, &model, &size, NULL, 0)) in uv_cpu_info()
266 cpu_info->model = uv__strdup(model); in uv_cpu_info()
H A Dlinux.c1751 unsigned model; in uv_cpu_info() member
1765 char (*model)[64]; in uv_cpu_info() local
1845 for (model = models; !found && model < ARRAY_END(models); model++) in uv_cpu_info()
1846 found = !strncmp(p, *model, strlen(*model)); in uv_cpu_info()
1851 if (**model == '\0') in uv_cpu_info()
1852 snprintf(*model, sizeof(*model), "%.*s", n, p); in uv_cpu_info()
1855 (*cpus)[cpu].model = model - models; in uv_cpu_info()
1907 .model = p + c->model * sizeof(*model), in uv_cpu_info()
H A Dqnx.c136 (*cpu_infos)[i].model = strdup(&strings->data[cpuinfo->name]); in uv_cpu_info()
H A Dhaiku.c165 cpu_info->model = uv__strdup("unknown"); in uv_cpu_info()
H A Dos390.c260 cpu_info->model = uv__malloc(ZOSCPU_MODEL_LENGTH + 1); in uv_cpu_info()
261 if (cpu_info->model == NULL) { in uv_cpu_info()
265 __get_cpu_model(cpu_info->model, ZOSCPU_MODEL_LENGTH + 1); in uv_cpu_info()
H A Dsunos.c699 cpu_info->model = NULL; in uv_cpu_info()
709 cpu_info->model = uv__strdup(KSTAT_NAMED_STR_PTR(knp)); in uv_cpu_info()
H A Dibmi.c304 cpu_info->model = uv__strdup("unknown"); in uv_cpu_info()
H A Daix.c1101 cpu_info->model = uv__strdup(ps_total.description); in uv_cpu_info()
/libuv/docs/src/
H A Ddesign.rst8 around the event-driven asynchronous I/O model.
119 While the polling mechanism is different, libuv makes the execution model consistent
H A Dmisc.rst157 char* model;
/libuv/test/
H A Dtest-platform-output.c140 printf(" model: %s\n", cpus[i].model); in TEST_IMPL()
/libuv/docs/src/guide/
H A Dintroduction.rst38 combined a model of I/O -- evented -- with a language that was well suited to
H A Dthreads.rst202 want responsiveness (the classic 'one thread per client' server model), and
H A Dprocesses.rst10 (similar to using pipes in shells). A multi-process model with messages
/libuv/src/win/
H A Dutil.c630 &(cpu_info->model)); in uv_cpu_info()
644 uv__free(cpu_infos[i].model); in uv_cpu_info()
/libuv/src/
H A Duv-common.c933 uv__free(cpu_infos[i].model); in uv_free_cpu_info()
/libuv/include/
H A Duv.h1194 char* model; member
/libuv/
H A DChangeLog409 * zos: correctly get cpu model in uv_cpu_info() (jolai)
1281 * linux: read CPU model information on ppc (Richard Lau)
6026 * linux: fix cpu model parsing on newer arm kernels (Ben Noordhuis)
6078 * linux: fix cpu model parsing on newer arm kernels (Ben Noordhuis)

Completed in 85 milliseconds