View | Details | Raw Unified | Return to bug 259787 | Differences between
and this patch

Collapse All | Expand All

(-)perf/cairo-perf-micro.c (+4 lines)
Lines 415-421 check_cpu_affinity (void) Link Here
415
{
415
{
416
#ifdef HAVE_SCHED_GETAFFINITY
416
#ifdef HAVE_SCHED_GETAFFINITY
417
417
418
#ifdef __FreeBSD__
419
    cpuset_t affinity;
420
#else
418
    cpu_set_t affinity;
421
    cpu_set_t affinity;
422
#endif
419
    int i, cpu_count;
423
    int i, cpu_count;
420
424
421
    if (sched_getaffinity(0, sizeof(affinity), &affinity)) {
425
    if (sched_getaffinity(0, sizeof(affinity), &affinity)) {

Return to bug 259787