Functions | |
| int | nms_timeval_subtract (struct timeval *, const struct timeval *, const struct timeval *) |
| int | nms_timeval_add (struct timeval *, const struct timeval *, const struct timeval *) |
| void | f2time (double, struct timeval *) |
| int nms_timeval_add | ( | struct timeval * | res, | |
| const struct timeval * | x, | |||
| const struct timeval * | y | |||
| ) |
timeval addition
| x | first value | |
| y | second value | |
| res | sum of y and x |
Definition at line 38 of file timeval.c.
Referenced by rtcp(), and rtcp_handle_event().
| int nms_timeval_subtract | ( | struct timeval * | res, | |
| const struct timeval * | x, | |||
| const struct timeval * | y | |||
| ) |
timeval subtraction
| x | first value | |
| y | second value | |
| res | difference between x and y |
Definition at line 60 of file timeval.c.
Referenced by rtcp(), rtcp_build_rr(), and rtcp_schedule().
1.5.4