[svn:modperl-modules] rev 175 - Apache-Scoreboard-2.0/trunk

[email protected] 11 Mar 2005 23:39:38 -0000
Newsgroups perl.modperl.modules.svn
Message-ID <[email protected]>
Author: stas
Date: Fri Mar 11 15:39:38 2005
New Revision: 175

Modified:
   Apache-Scoreboard-2.0/trunk/Changes
   Apache-Scoreboard-2.0/trunk/Scoreboard.xs
Log:
fix start_time(), stop_time() to return usecs as the second argument


Modified: Apache-Scoreboard-2.0/trunk/Changes
==============================================================================
--- Apache-Scoreboard-2.0/trunk/Changes	(original)
+++ Apache-Scoreboard-2.0/trunk/Changes	Fri Mar 11 15:39:38 2005
@@ -1,5 +1,7 @@
 2.06 - dev
 
+fix start_time(), stop_time() to return usecs as the second argument
+
 Revamping docs (still needs more work) 
 
 Extending tests to test all worker score methods

Modified: Apache-Scoreboard-2.0/trunk/Scoreboard.xs
==============================================================================
--- Apache-Scoreboard-2.0/trunk/Scoreboard.xs	(original)
+++ Apache-Scoreboard-2.0/trunk/Scoreboard.xs	Fri Mar 11 15:39:38 2005
@@ -688,7 +688,7 @@
     if (GIMME == G_ARRAY) {
         EXTEND(sp, 2);
         PUSHs(sv_2mortal(newSViv(apr_time_sec(tp))));
-        PUSHs(sv_2mortal(newSViv(apr_time_sec(tp) - apr_time_usec(tp))));
+        PUSHs(sv_2mortal(newSViv(apr_time_usec(tp))));
     } 
     else {
         EXTEND(sp, 1);