Monthly Archives: October 2008

Units of mach_absolute_time()

As programmers on OS X are well aware, the units of mach_absolute_time() have been nanoseconds since 10.2, although this was only documented since 10.5. As the iPhone runs a slimmed down version of OS X, I thought it reasonable that the units would remain the same on the device. [Update] As Justin points out below, this was never the case. A complete misread of the documentation on my part. I managed to work on only machines for which the units … Continue reading

Posted in Software | 9 Comments