Author: Richard Plangger <r...@pasra.at>
Branch: vecopt
Changeset: r78294:26d736866fa2
Date: 2015-06-24 15:07 +0200
http://bitbucket.org/pypy/pypy/changeset/26d736866fa2/

Log:    logging condition changed for timing in optimize_trace

diff --git a/rpython/jit/metainterp/optimizeopt/vectorize.py 
b/rpython/jit/metainterp/optimizeopt/vectorize.py
--- a/rpython/jit/metainterp/optimizeopt/vectorize.py
+++ b/rpython/jit/metainterp/optimizeopt/vectorize.py
@@ -82,7 +82,7 @@
         debug_stop("vec-opt-loop")
         #
         # XXX
-        if end != -1:
+        if start > 0 and end > 0:
             ns = int((end-start)*10.0**9)
             debug_start("xxx-clock")
             debug_print("vecopt unroll: %d gso count: %d opcount: (%d -> %d) 
took %dns" % \
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to