Fix link in docs and example code for timing-functions