On Thu, Oct 25, 2012 at 05:17:00PM +0200, Tobias Engel wrote: > On 25.10.12 16:56, Holger Hans Peter Freyther wrote:
> I know - but either I am blind or that function is never used in the > code. time.h isn't even included: > > openbsc/openbsc/tests/mgcp $ grep clock * > openbsc/openbsc/tests/mgcp $ grep time * > openbsc/openbsc/tests/mgcp $ well, two things. 1.) We build libmgcp.a and these archives do not have library deps. This means you would need to grep in src/libmgcp and src/libcommon as well. 2.) I am going to use clock_gettime real soon(tm). You can check the zecke/mgcp-statistics branch where I implement proper RTP packet loss and jitter calculation. thanks holger