Skip to content

Commit

Permalink
Log CPU affinity
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan-Jowett committed May 10, 2017
1 parent 9bffda5 commit 72d871f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clock_gettime_test/ClockGetTimeTest.cc
Expand Up @@ -86,7 +86,7 @@ void SetCpuAffinity()
cpuSet = CPU_ALLOC(cpu);
CPU_ZERO_S(cpuSetSize, cpuSet);
sched_setaffinity(0, cpuSetSize, cpuSet);
printf("Running on CPU %d\n", cpu);
printf("Affinitizing to CPU %d\n", cpu);
CPU_FREE(cpuSet);
}

Expand Down

0 comments on commit 72d871f

Please sign in to comment.