Added: added highres_timer class; set processor affinity; thread priority to make sure that OS is not interfare