[pypy-svn] r55619 - pypy/dist/pypy/module/_lsprof

fijal at codespeak.net fijal at codespeak.net
Fri Jun 6 04:53:59 CEST 2008


Author: fijal
Date: Fri Jun  6 04:53:57 2008
New Revision: 55619

Modified:
   pypy/dist/pypy/module/_lsprof/interp_lsprof.py
Log:
Ooops. This factor is really just 1. since we measure in floats.


Modified: pypy/dist/pypy/module/_lsprof/interp_lsprof.py
==============================================================================
--- pypy/dist/pypy/module/_lsprof/interp_lsprof.py	(original)
+++ pypy/dist/pypy/module/_lsprof/interp_lsprof.py	Fri Jun  6 04:53:57 2008
@@ -207,7 +207,7 @@
 
     def getstats(self, space):
         if self.w_callable is None:
-            factor = 0.000001
+            factor = 1. # we measure time.time in floats
         elif self.time_unit > 0.0:
             factor = self.time_unit
         else:



More information about the Pypy-commit mailing list