#include <stdint.h>
Go to the source code of this file.
Functions |
int64_t | av_gettime (void) |
| Get the current time in microseconds.
|
int | av_usleep (unsigned usec) |
| Sleep for a period of time.
|
Function Documentation
int64_t av_gettime |
( |
void |
| ) |
|
Get the current time in microseconds.
Definition at line 39 of file time.c.
int av_usleep |
( |
unsigned |
usec | ) |
|
Sleep for a period of time.
Although the duration is expressed in microseconds, the actual delay may be rounded to the precision of the system timer.
- Parameters
-
usec | Number of microseconds to sleep. |
- Returns
- zero on success or (negative) error code.
Definition at line 56 of file time.c.