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

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 13:18:46 CDT 2008


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:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             07-26-2007 17:15 CDT
Last Modified:              06-07-2008 13:18 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"
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 13:18  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 2995

U   branches/1.4/zttest.c

------------------------------------------------------------------------
r2995 | tzafrir | 2008-06-07 13:18:40 -0500 (Sat, 07 Jun 2008) | 5 lines

* Improve accuracy of zttest by using floats
(http://bugs.digium.com/view.php?id=10312).
* Account only for the time of actually waiting for the clock.
* Clarify message for zttest -v .
* Don't print some digits that are not meaningful enough.

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

http://svn.digium.com/view/dahdi?view=rev&revision=2995 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 13:18  svnbot         Checkin                                      
06-07-08 13:18  svnbot         Note Added: 0088325                          
======================================================================




More information about the asterisk-bugs mailing list