[asterisk-bugs] [Zaptel 0010312]: [patch] Higher resolution of zttest

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jul 28 03:10:28 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10312 
====================================================================== 
Reported By:                darren1713
Assigned To:                
====================================================================== 
Project:                    Zaptel
Issue ID:                   10312
Category:                   Utilities
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
Zaptel Version:              SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-26-2007 17:15 CDT
Last Modified:              07-28-2007 03:10 CDT
====================================================================== 
Summary:                    [patch] Higher resolution of zttest
Description: 
zttest was very inaccurate in the 99.9% to 100% range since it always
rounded to an int. This small patch calculates the time offset with float's
instead of ints.

Included is a verbose description of what it's doing if started with "-v"
====================================================================== 

---------------------------------------------------------------------- 
 tzafrir - 07-28-07 03:10  
---------------------------------------------------------------------- 
Also: (now.tv_sec - start.tv_sec)  is an integer. Why convert it to float?

Generally I like the patch. There are still some problems with
inaccuracies if zttest, I believe. But no regressions here. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-28-07 03:10  tzafrir        Note Added: 0068001                          
======================================================================




More information about the asterisk-bugs mailing list