[OpenSIPS-Devel] [ opensips-Patches-3344287 ] Timestamp DELTA when using secs and usecs
SourceForge.net
noreply at sourceforge.net
Thu Jun 30 11:51:09 CEST 2011
Patches item #3344287, was opened at 2011-06-29 18:00
Message generated for change (Comment added) made by razvancrainea
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: modules
Group: trunk
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Dynamic Packet (dpacket)
Assigned to: Razvan Crainea (razvancrainea)
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)
----------------------------------------------------------------------
>Comment By: Razvan Crainea (razvancrainea)
Date: 2011-06-30 12:51
Message:
Hi,
I have just created a function called 'ts_usec_delta' in the 'cfgutils'
module that returns the difference between two timestamps in microseconds.
Regards,
Razvan
----------------------------------------------------------------------
Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2011-06-30 10:35
Message:
There is no patch attached :(...or it is a feature request ? ;)
Regards,
Bogdan
----------------------------------------------------------------------
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