time.h File Reference
#include <stdint.h>
Include dependency graph for time.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int64_t av_gettime (void)
 Get the current time in microseconds. More...
 
int av_usleep (unsigned usec)
 Sleep for a period of time. More...
 

Function Documentation

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
usecNumber of microseconds to sleep.
Returns
zero on success or (negative) error code.

Definition at line 56 of file time.c.

Referenced by hls_read(), input_thread(), main(), rate_emu_sleep(), read_data(), refresh_loop_wait_event(), retry_transfer_wrapper(), rtmp_http_read(), and transcode_step().