Searched refs:cpu_mask (Results 1 - 6 of 6) sorted by relevance
/external/linux-tools-perf/perf-3.12.0/tools/perf/tests/ |
H A D | perf-record.c | 46 cpu_set_t cpu_mask; local 47 size_t cpu_mask_size = sizeof(cpu_mask); 112 err = sched__get_first_possible_cpu(evlist->workload.pid, &cpu_mask); 123 if (sched_setaffinity(evlist->workload.pid, cpu_mask_size, &cpu_mask) < 0) {
|
/external/fio/ |
H A D | gettime.c | 475 os_cpu_mask_t cpu_mask; local 479 memset(&cpu_mask, 0, sizeof(cpu_mask)); 480 fio_cpu_set(&cpu_mask, t->cpu); 482 if (fio_setaffinity(gettid(), cpu_mask) == -1) {
|
H A D | idletime.c | 49 os_cpu_mask_t cpu_mask; local 51 memset(&cpu_mask, 0, sizeof(cpu_mask)); 52 fio_cpu_set(&cpu_mask, ipt->cpu); 54 if (fio_setaffinity(gettid(), cpu_mask)) {
|
/external/lldb/source/Plugins/Process/MacOSX-Kernel/ |
H A D | CommunicationKDP.cpp | 906 const uint32_t cpu_mask = packet.GetU32 (&offset); local 909 s.Printf(" (cpu_mask=0x%8.8x, cpu_type=0x%8.8x, cpu_subtype=0x%8.8x)", cpu_mask, cpu_type, cpu_subtype); 1059 const uint32_t cpu_mask = packet.GetU32 (&offset); local 1060 s.Printf(" (cpu_mask = 0x%8.8x)", cpu_mask);
|
/external/lldb/source/Core/ |
H A D | ArchSpec.cpp | 112 uint32_t cpu_mask; member in struct:ArchDefinitionEntry 298 if (entries[i].cpu == (cpu & entries[i].cpu_mask))
|
/external/blktrace/ |
H A D | blktrace.c | 610 cpu_set_t cpu_mask; local 612 CPU_ZERO(&cpu_mask); 613 CPU_SET(cpu, &cpu_mask); 614 if (sched_setaffinity(0, sizeof(cpu_mask), &cpu_mask) < 0)
|
Completed in 259 milliseconds