Home
last modified time | relevance | path

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

/external/autotest/client/tests/monotonic_time/src/
Dcpuset.h14 int parse_cpu_set(const char *s, cpu_set_t *cpus);
Dcpuset.c32 int parse_cpu_set(const char *s, cpu_set_t *cpus) in parse_cpu_set() function
Dtime_test.c336 if (parse_cpu_set(optarg, &cpus) != 0) in main()
/external/autotest/client/tests/tsc/src/
Dchecktsc.c72 int parse_cpu_set(const char *s, cpu_set_t *cpus) in parse_cpu_set() function
340 if (parse_cpu_set(optarg, &cpus) != 0) in main()
/external/crosvm/src/
Dmain.rs78 fn parse_cpu_set(s: &str) -> argument::Result<Vec<usize>> { in parse_cpu_set() function
142 let host_cpu_set = parse_cpu_set(assignment[1])?; in parse_cpu_affinity()
152 Ok(VcpuAffinity::Global(parse_cpu_set(s)?)) in parse_cpu_affinity()
850 cfg.rt_cpus = parse_cpu_set(value.unwrap())?; in set_argument()
2413 assert_eq!(parse_cpu_set("123").expect("parse failed"), vec![123]); in parse_cpu_set_single()
2419 parse_cpu_set("0,1,2,3").expect("parse failed"), in parse_cpu_set_list()
2427 parse_cpu_set("0-3").expect("parse failed"), in parse_cpu_set_range()
2435 parse_cpu_set("3-4,7-9,18").expect("parse failed"), in parse_cpu_set_list_of_ranges()
2443 assert_eq!(parse_cpu_set("1,1,1").expect("parse failed"), vec![1, 1, 1]); in parse_cpu_set_repeated()
2449 parse_cpu_set("-3").expect_err("parse should have failed"); in parse_cpu_set_negative()
[all …]