add -lrt for high-accuracy timer on linux