summaryrefslogtreecommitdiffstats
path: root/libavutil/time.c
Commit message (Collapse)AuthorAgeFilesLines
* time: Add missing zeroGabriel Dume2014-09-081-1/+1
| | | | | | Leftover of 56d7df91e010a177a80cfc8dbe394305 Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* time: Use clock_gettime if the monotonic clock is availableLuca Barbato2014-09-031-2/+8
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Drop pointless directory name prefixes from #includes in the current dirDiego Biurrun2013-09-101-1/+1
|
* lavu: add av_usleep() functionMans Rullgard2012-06-221-1/+23
| | | | | | | | | | | | | | | This function implements a delay using the first available of the following functions: - nanosleep() - usleep() - Sleep() (Windows) The conditional #includes in time.c are simplified by including unistd.h and windows.h whenever they are available rather than having these lines triggered by specific functions. Signed-off-by: Mans Rullgard <mans@mansr.com>
* av_gettime: support Win32 without gettimeofday()Mans Rullgard2012-06-201-0/+16
| | | | | | Based on patch by Ronald S. Bultje. Signed-off-by: Mans Rullgard <mans@mansr.com>
* Move av_gettime() to libavutilMans Rullgard2012-06-201-0/+30
Signed-off-by: Mans Rullgard <mans@mansr.com>
OpenPOWER on IntegriCloud