[OpenSIPS-Devel] [ opensips-Patches-3344287 ] Timestamp DELTA when using secs and usecs

SourceForge.net noreply at sourceforge.net
Wed Jun 29 17:00:46 CEST 2011


Patches item #3344287, was opened at 2011-06-29 11:00
Message generated for change (Tracker Item Submitted) made by dpacket
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3344287&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dynamic Packet (dpacket)
Assigned to: Nobody/Anonymous (nobody)
Summary: Timestamp DELTA when using secs and usecs

Initial Comment:
Calculating the delta of two timestamps taken with the new function that returns SECS and USECS from a single call
can be tedious in script. 

It would be much easier if there would be a simple function for this that returns DELTA in MILLISECONDS like...

example:       ts_millisec_delta(t1_secs,t1_usec,t2_secs,t2_usec)



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=3344287&group_id=232389



More information about the Devel mailing list