study.prl85.com
[Ubuntu 14.04] Setting process affinity in kernel mode (2/2 – Example code)
Prerequisite) Prerequisite and all steps from Sample code (cpu_affinity_user.c) This code will execute measureTime() 30 times without cpu core fixed, then 30 times with cpu core fixed. Each measure…