diff options
author | Janne Grunau <j@jannau.net> | 2014-01-24 01:15:31 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2014-03-09 00:45:34 +0100 |
commit | c708b5403346255ea5adc776645616cc7c61f078 (patch) | |
tree | d36a7955d03532e3d4f1714793d4de5e7cc4a7e3 /configure | |
parent | 634d9d8b398982647b3d7160641198744901d8d8 (diff) | |
download | ffmpeg-c708b5403346255ea5adc776645616cc7c61f078.tar.gz |
timer: use mach_absolute_time as high resolution clock on darwin
Not guaranteed to be in nanosecond resolution. On iOS 7 the duration
of one tick is 125/3 ns which is still more than an order of magnitude
better then microseconds.
Replace decicycles with the neutral UNITS. Decicycles is strange but
tenths of a nanosecond and unspecific "deci"-ticks for mach_absolute_time
is just silly.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1387,6 +1387,8 @@ HAVE_LIST=" local_aligned_8 localtime_r loongson + mach_absolute_time + mach_mach_time_h machine_ioctl_bt848_h machine_ioctl_meteor_h machine_rw_barrier @@ -3853,6 +3855,7 @@ check_struct "sys/time.h sys/resource.h" "struct rusage" ru_maxrss check_func gettimeofday check_func isatty check_func localtime_r +check_func mach_absolute_time check_func ${malloc_prefix}memalign && enable memalign check_func mkstemp check_func mmap @@ -3887,6 +3890,7 @@ check_header dlfcn.h check_header dxva.h check_header dxva2api.h check_header io.h +check_header mach/mach_time.h check_header malloc.h check_header poll.h check_header sys/mman.h |