Added timespec utilities