[tools] Fix error when config not given to time funcs