ROHC compression/decompression library
|
ROHC internal functions related to time. More...
Go to the source code of this file.
Functions | |
static uint64_t | rohc_time_interval (const struct rohc_ts begin, const struct rohc_ts end) |
Compute the interval of time between 2 timestamps. | |
static uint64_t | rohc_get_seconds (void) |
Get the current time in seconds. |
ROHC internal functions related to time.
static uint64_t rohc_get_seconds | ( | void | ) | [inline, static] |
Get the current time in seconds.
static uint64_t rohc_time_interval | ( | const struct rohc_ts | begin, |
const struct rohc_ts | end | ||
) | [inline, static] |
Compute the interval of time between 2 timestamps.
begin | The begin timestamp (in seconds and nanoseconds) |
end | The end timestamp (in seconds and nanoseconds) |