ROHC compression/decompression library
Functions
rohc_time_internal.h File Reference

ROHC internal functions related to time. More...

#include "rohc_time.h"
#include <sys/time.h>
Include dependency graph for rohc_time_internal.h:
This graph shows which files directly or indirectly include this file:

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. More...
 

Detailed Description

ROHC internal functions related to time.

Author
Didier Barvaux didie.nosp@m.r.ba.nosp@m.rvaux.nosp@m.@tou.nosp@m.louse.nosp@m..viv.nosp@m.eris..nosp@m.com
Thales Communications
Didier Barvaux didie.nosp@m.r@ba.nosp@m.rvaux.nosp@m..org

Function Documentation

static uint64_t rohc_time_interval ( const struct rohc_ts  begin,
const struct rohc_ts  end 
)
inlinestatic

Compute the interval of time between 2 timestamps.

Parameters
beginThe begin timestamp (in seconds and nanoseconds)
endThe end timestamp (in seconds and nanoseconds)
Returns
The interval of time in microseconds