Ignore:
Timestamp:
May 24, 2012, 4:33:17 PM (7 years ago)
Author:
ksherdy
Message:

Suppress cpu binding messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/perflib/perfsec.h

    r1218 r2146  
    2020
    2121    if (sched_setaffinity(0, len, (const cpu_set_t *)&mask) < 0) {
    22       printf("sched_setaffinity call failed.\n");
     22      //printf("sched_setaffinity call failed.\n");
    2323      return -1;
    2424    }
    2525
    26     printf("CPU affinity mask: %08lx\n", mask);
     26    //printf("CPU affinity mask: %08lx\n", mask);
    2727
    2828    return 0;
     
    4040
    4141        if(0 == SetProcessAffinityMask(hProcess, mask)) {
    42               printf("SetProcessAffinityMask call failed.\n");
     42          // printf("SetProcessAffinityMask call failed.\n");
    4343              return -1;
    4444        }
    4545
    46         printf("CPU affinity mask: %08lx\n", mask);
     46    // printf("CPU affinity mask: %08lx\n", mask);
    4747
    4848        return 0;
Note: See TracChangeset for help on using the changeset viewer.