Simple library for high-resolution timing