I've found usable replacements for the functions listed above:
- UpTime() can be replaced by a call to mach_absolute_time(), as detailed here.
- AbsoluteToNanoseconds() can be replaced by a bit of math, as shown at the above link.
- MPProcessors can be replaced by a call to host_info(), like this:
#include <mach/mach_host.h> mach_msg_type_number_t infoCount = HOST_BASIC_INFO_COUNT; host_info(gHostPort, HOST_BASIC_INFO, (host_info_t)&hostInfo, &infoCount); int numProcessors = hostInfo.avail_cpus;