| Index: source/libvpx/vpx_ports/vpx_timer.h
|
| ===================================================================
|
| --- source/libvpx/vpx_ports/vpx_timer.h (revision 290053)
|
| +++ source/libvpx/vpx_ports/vpx_timer.h (working copy)
|
| @@ -53,7 +53,7 @@
|
| };
|
|
|
|
|
| -static void
|
| +static INLINE void
|
| vpx_usec_timer_start(struct vpx_usec_timer *t) {
|
| #if defined(_WIN32)
|
| QueryPerformanceCounter(&t->begin);
|
| @@ -63,7 +63,7 @@
|
| }
|
|
|
|
|
| -static void
|
| +static INLINE void
|
| vpx_usec_timer_mark(struct vpx_usec_timer *t) {
|
| #if defined(_WIN32)
|
| QueryPerformanceCounter(&t->end);
|
| @@ -73,7 +73,7 @@
|
| }
|
|
|
|
|
| -static int64_t
|
| +static INLINE int64_t
|
| vpx_usec_timer_elapsed(struct vpx_usec_timer *t) {
|
| #if defined(_WIN32)
|
| LARGE_INTEGER freq, diff;
|
| @@ -101,13 +101,13 @@
|
| void *dummy;
|
| };
|
|
|
| -static void
|
| +static INLINE void
|
| vpx_usec_timer_start(struct vpx_usec_timer *t) { }
|
|
|
| -static void
|
| +static INLINE void
|
| vpx_usec_timer_mark(struct vpx_usec_timer *t) { }
|
|
|
| -static long
|
| +static INLINE int
|
| vpx_usec_timer_elapsed(struct vpx_usec_timer *t) {
|
| return 0;
|
| }
|
|
|