replaced standard timer with high resolution timer (hrtimer.h)