public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-mathematics/msieve/files: reduce-printf3.patch reduce-printf2.patch
@ 2012-11-30  9:23 Patrick Lauer (patrick)
  0 siblings, 0 replies; only message in thread
From: Patrick Lauer (patrick) @ 2012-11-30  9:23 UTC (permalink / raw
  To: gentoo-commits

patrick     12/11/30 09:23:26

  Added:                reduce-printf3.patch reduce-printf2.patch
  Log:
  Reducing output verbosity some more
  
  (Portage version: 2.2.0_alpha143/cvs/Linux x86_64, unsigned Manifest commit)

Revision  Changes    Path
1.1                  sci-mathematics/msieve/files/reduce-printf3.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/msieve/files/reduce-printf3.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/msieve/files/reduce-printf3.patch?rev=1.1&content-type=text/plain

Index: reduce-printf3.patch
===================================================================
--- gnfs/poly/poly_skew.c	2011-12-23 03:48:49.000000000 +0800
+++ gnfs/poly/poly_skew.c.new	2012-11-30 17:14:29.802747785 +0800
@@ -221,7 +221,7 @@
 static void stage1_callback(mpz_t high_coeff, mpz_t p, mpz_t m, 
 				double coeff_bound, void *extra) {
 	
-	gmp_printf("%Zd %Zd %Zd\n", high_coeff, p, m);
+	/* gmp_printf("%Zd %Zd %Zd\n", high_coeff, p, m); */
 	poly_stage2_run((poly_stage2_t *)extra, high_coeff, p, m, 
 			coeff_bound, NULL);
 }
@@ -231,7 +231,7 @@
 				double coeff_bound, void *extra) {
 	
 	FILE *mfile = (FILE *)extra;
-	gmp_printf("%Zd %Zd %Zd\n", high_coeff, p, m);
+	/* gmp_printf("%Zd %Zd %Zd\n", high_coeff, p, m); */
 	gmp_fprintf(mfile, "%Zd %Zd %Zd\n",
 			high_coeff, p, m);
 	fflush(mfile);
--- gnfs/poly/stage2/root_sieve_line.c	2011-11-25 00:25:28.000000000 +0800
+++ gnfs/poly/stage2/root_sieve_line.c.new	2012-11-30 17:18:19.887475567 +0800
@@ -402,7 +402,7 @@
 	uint32 num_primes = rs->num_primes;
 	uint16 *block = rs->sieve_block;
 
-	printf("%u ", num_blocks); fflush(stdout);
+	/* printf("%u ", num_blocks); fflush(stdout); */
 
 	if (mpz_cmp_ui(x->mp_lattice_size, 1) == 0)
 		prepare_sieve_line(rs);



1.1                  sci-mathematics/msieve/files/reduce-printf2.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/msieve/files/reduce-printf2.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/msieve/files/reduce-printf2.patch?rev=1.1&content-type=text/plain

Index: reduce-printf2.patch
===================================================================
--- gnfs/poly/stage2/root_sieve_deg45_x.c	2011-08-23 20:59:59.000000000 +0800
+++ gnfs/poly/stage2/root_sieve_deg45_x.c.new	2012-11-30 17:09:22.553116526 +0800
@@ -515,7 +515,7 @@
 			if (obj->flags & MSIEVE_FLAG_STOP_SIEVING)
 				break;
 		}
-		printf("\n");
+		printf(".");
 		return;
 	}
 
@@ -585,7 +585,7 @@
 		if (obj->flags & MSIEVE_FLAG_STOP_SIEVING)
 			break;
 	}
-	printf("\n");
+	printf(",");
 }
 
 /*-------------------------------------------------------------------------*/
@@ -604,7 +604,7 @@
 	xline_heap_t xline_heap;
 	uint32 cutoff_score;
 
-	printf("L %u\n", (uint32)lattice_size);
+	/* printf("L %u\n", (uint32)lattice_size); */
 
 	mpz_set_ui(xy->y_base, (unsigned long)0);
 	xy->y_blocks = 0;
@@ -621,7 +621,7 @@
 		x->x_blocks = line_max - line_min;
 		x->curr_score = 0;
 		root_sieve_line(rs);
-		printf("\n");
+		printf("_");
 		return;
 	}
 
@@ -664,5 +664,5 @@
 			break;
 	}
 
-	printf("\n");
+	printf("*");
 }
--- gnfs/poly/stage2/root_sieve_deg5_xy.c	2011-07-15 09:49:00.000000000 +0800
+++ gnfs/poly/stage2/root_sieve_deg5_xy.c.new	2012-11-30 17:09:51.462454813 +0800
@@ -290,8 +290,8 @@
 	}
 	xy->y_blocks = y_blocks;
 
-	printf("\n%.0lf %u %u\n", (double)lattice_size, 
-			y_blocks, num_lattices);
+	/* printf("\n%.0lf %u %u\n", (double)lattice_size, 
+			y_blocks, num_lattices); */
 
 	sieve_x_run_deg5(rs);
 }





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-30  9:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30  9:23 [gentoo-commits] gentoo-x86 commit in sci-mathematics/msieve/files: reduce-printf3.patch reduce-printf2.patch Patrick Lauer (patrick)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox