Searched refs:model (Results 1 – 21 of 21) sorted by relevance
/libuv/src/unix/ |
H A D | darwin.c | 185 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 D | openbsd.c | 188 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 D | netbsd.c | 191 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 D | freebsd.c | 190 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 D | linux.c | 1751 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 D | qnx.c | 136 (*cpu_infos)[i].model = strdup(&strings->data[cpuinfo->name]); in uv_cpu_info()
|
H A D | haiku.c | 165 cpu_info->model = uv__strdup("unknown"); in uv_cpu_info()
|
H A D | os390.c | 260 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 D | sunos.c | 699 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 D | ibmi.c | 304 cpu_info->model = uv__strdup("unknown"); in uv_cpu_info()
|
H A D | aix.c | 1101 cpu_info->model = uv__strdup(ps_total.description); in uv_cpu_info()
|
/libuv/docs/src/ |
H A D | design.rst | 8 around the event-driven asynchronous I/O model. 119 While the polling mechanism is different, libuv makes the execution model consistent
|
H A D | misc.rst | 157 char* model;
|
/libuv/test/ |
H A D | test-platform-output.c | 140 printf(" model: %s\n", cpus[i].model); in TEST_IMPL()
|
/libuv/docs/src/guide/ |
H A D | introduction.rst | 38 combined a model of I/O -- evented -- with a language that was well suited to
|
H A D | threads.rst | 202 want responsiveness (the classic 'one thread per client' server model), and
|
H A D | processes.rst | 10 (similar to using pipes in shells). A multi-process model with messages
|
/libuv/src/win/ |
H A D | util.c | 630 &(cpu_info->model)); in uv_cpu_info() 644 uv__free(cpu_infos[i].model); in uv_cpu_info()
|
/libuv/src/ |
H A D | uv-common.c | 933 uv__free(cpu_infos[i].model); in uv_free_cpu_info()
|
/libuv/include/ |
H A D | uv.h | 1194 char* model; member
|
/libuv/ |
H A D | ChangeLog | 409 * 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 56 milliseconds