/libs/ObjectAL/Support/mach_timing.h
http://github.com/kstenerud/ObjectAL-for-iPhone · C Header · 18 lines · 2 code · 2 blank · 14 comment · 0 complexity · 03b6550f2ffad244472ea9b1fe7427ea MD5 · raw file
- /*
- * mach_timing.h
- * ObjectAL
- *
- * Created by Karl Stenerud on 10-08-18.
- *
- */
- #include <mach/mach_time.h>
- /** Calculates the difference, in seconds, between two time values that were
- * obtained through mach_absolute_time().
- *
- * @param endTime the later time value.
- * @param startTime the earlier time value.
- * @return the time difference in seconds.
- */
- double mach_absolute_difference_seconds(uint64_t endTime, uint64_t startTime);