setting the processor affinity before start measuring