Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dlinux.c2354 char* cgroup_cpu = strstr(cgroup, ":cpu,"); in uv__cgroup1_find_cpu_controller() local
2356 if (cgroup_cpu != NULL) { in uv__cgroup1_find_cpu_controller()
2358 cgroup_cpu += sizeof(":cpu,") - 1; in uv__cgroup1_find_cpu_controller()
2360 *cgroup_size = (int)strcspn(cgroup_cpu, "\n"); in uv__cgroup1_find_cpu_controller()
2363 return cgroup_cpu; in uv__cgroup1_find_cpu_controller()
2372 char* cgroup_cpu; in uv__get_cgroupv1_constrained_cpu() local
2374 cgroup_cpu = uv__cgroup1_find_cpu_controller(cgroup, &cgroup_size); in uv__get_cgroupv1_constrained_cpu()
2376 if (cgroup_cpu == NULL) in uv__get_cgroupv1_constrained_cpu()
2381 cgroup_size, cgroup_cpu); in uv__get_cgroupv1_constrained_cpu()
2391 cgroup_size, cgroup_cpu); in uv__get_cgroupv1_constrained_cpu()
[all …]

Completed in 10 milliseconds