Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Support/
DHost.cpp1301 cpu_set_t *DynAffinity; in computeHostNumPhysicalCores() local
1302 DynAffinity = CPU_ALLOC(2048); in computeHostNumPhysicalCores()
1303 if (sched_getaffinity(0, CPU_ALLOC_SIZE(2048), DynAffinity) == 0) { in computeHostNumPhysicalCores()
1304 int NumCPUs = CPU_COUNT(DynAffinity); in computeHostNumPhysicalCores()
1305 CPU_FREE(DynAffinity); in computeHostNumPhysicalCores()
/external/llvm-project/compiler-rt/lib/msan/tests/
Dmsan_test.cpp3227 cpu_set_t *DynAffinity; in TEST() local
3228 DynAffinity = CPU_ALLOC(2048); in TEST()
3229 int res = sched_getaffinity(getpid(), CPU_ALLOC_SIZE(2048), DynAffinity); in TEST()
3231 EXPECT_NOT_POISONED(*DynAffinity); in TEST()