~ubuntu-branches/ubuntu/trusty/gst-libav1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to gst-libs/ext/libav/libavutil/x86/timer.h

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-09-24 17:07:00 UTC
  • mfrom: (1.1.17) (7.1.9 experimental)
  • Revision ID: package-import@ubuntu.com-20130924170700-4dg62s3pwl0pdakz
Tags: 1.2.0-1
* New upstream stable release:
  + debian/control:
    - Build depend on GStreamer and gst-plugins-base >= 1.2.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <stdint.h>
25
25
 
 
26
#if HAVE_INLINE_ASM
 
27
 
26
28
#define AV_READ_TIME read_time
27
29
 
28
30
static inline uint64_t read_time(void)
32
34
    return ((uint64_t)d << 32) + a;
33
35
}
34
36
 
 
37
#elif HAVE_RDTSC
 
38
 
 
39
#define AV_READ_TIME __rdtsc
 
40
 
 
41
#endif /* HAVE_INLINE_ASM */
 
42
 
35
43
#endif /* AVUTIL_X86_TIMER_H */