diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-10-29 23:11:37 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-10-29 23:11:37 +0000 |
commit | 9320048966af54c31a0cc84f956460167c9bf882 (patch) | |
tree | d4f5be6027681950b65704d96f2f081f33a038e8 /src/xine-utils/xineutils.h | |
parent | caf3f7a6dc518a95522dd18a9940387909d81d98 (diff) | |
download | xine-lib-9320048966af54c31a0cc84f956460167c9bf882.tar.gz xine-lib-9320048966af54c31a0cc84f956460167c9bf882.tar.bz2 |
use monotonic clock when available
CVS patchset: 7087
CVS date: 2004/10/29 23:11:37
Diffstat (limited to 'src/xine-utils/xineutils.h')
-rw-r--r-- | src/xine-utils/xineutils.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/xine-utils/xineutils.h b/src/xine-utils/xineutils.h index 8e45d150a..21070a1a9 100644 --- a/src/xine-utils/xineutils.h +++ b/src/xine-utils/xineutils.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xineutils.h,v 1.94 2004/09/26 22:54:53 valtri Exp $ + * $Id: xineutils.h,v 1.95 2004/10/29 23:11:38 miguelfreitas Exp $ * */ #ifndef XINEUTILS_H @@ -1030,6 +1030,11 @@ const char *xine_guess_spu_encoding(void); char *exec_path_append_subdir(char * string); #endif +/* + * use the best clock reference (API compatible with gettimeofday) + * note: it will be a monotonic clock, if available. + */ +int xine_monotonic_clock(struct timeval *tv, struct timezone *tz); #ifdef __cplusplus } |