Add clock functions, currently implemented only for mach.