Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh32 online_cpus=`cat $SYSFS/devices/system/cpu/online`
33 online_max=${online_cpus##*-}
35 if [[ "$online_cpus" = "$online_max" ]]; then
36 echo "$msg: since there is only one cpu: $online_cpus"
44 echo -e "\t Cpus in online state: $online_cpus"
154 online_cpus=0
/external/bcc/tests/python/
Dtest_array.py102 online_cpus = get_online_cpus()
103 for cpu in online_cpus:
107 …GreaterEqual(len(self.events), len(online_cpus), 'Received only {}/{} events'.format(len(self.even…
Dtest_utils.py12 online_cpus = get_online_cpus()
15 self.assertEqual(len(online_cpus), num_cores)
/external/blktrace/
Dblktrace.c279 static cpu_set_t *online_cpus; variable
1036 if (!CPU_ISSET_S(cpu, alloc_size, online_cpus)) in open_client_connections()
1058 if (!CPU_ISSET_S(cpu, alloc_size, online_cpus)) in close_client_connections()
1928 if (!CPU_ISSET_S(cpu, alloc_size, online_cpus)) { in start_tracers()
2792 online_cpus = get_online_cpus(); in main()
2793 if (!online_cpus) { in main()
2803 ncpus = CPU_COUNT_S(CPU_ALLOC_SIZE(max_cpus), online_cpus); in main()