[pypy-commit] stmgc default: Duh, the point is to always print the results if compiled in.

arigo noreply at buildbot.pypy.org
Thu Aug 22 20:08:04 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r491:c7b63aa9d1ad
Date: 2013-08-22 20:07 +0200
http://bitbucket.org/pypy/stmgc/changeset/c7b63aa9d1ad/

Log:	Duh, the point is to always print the results if compiled in.

diff --git a/c4/fprintcolor.c b/c4/fprintcolor.c
--- a/c4/fprintcolor.c
+++ b/c4/fprintcolor.c
@@ -68,13 +68,13 @@
     char *p = names;
     char *q;
     int i;
-    dprintf(("** Summary of the barrier calls **\n"));
+    fprintf(stderr, "** Summary of the barrier calls **\n");
     for (i = 0; i < STM_BARRIER_NUMBERS; i += 2) {
         q = strchr(p, '\n');
         *q = '\0';
-        dprintf(("%12ld  %s\n", stm_barriercount[i], p));
+        fprintf(stderr, "%12ld  %s\n", stm_barriercount[i], p);
         *q = '\n';
-        dprintf(("%12ld  \\ fast path\n", stm_barriercount[i + 1]));
+        fprintf(stderr, "%12ld  \\ fast path\n", stm_barriercount[i + 1]);
         p = q + 1;
     }
 }


More information about the pypy-commit mailing list