Searched refs:DynAffinity (Results 1 – 2 of 2) sorted by relevance
1301 cpu_set_t *DynAffinity; in computeHostNumPhysicalCores() local1302 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()
3227 cpu_set_t *DynAffinity; in TEST() local3228 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()