[Gmp-commit] /var/hg/gmp: (cgt_works_p): Add a missing verbosity check.

mercurial at gmplib.org mercurial at gmplib.org
Sun Nov 27 00:20:24 UTC 2016


details:   /var/hg/gmp/rev/fd5eb90386a9
changeset: 17138:fd5eb90386a9
user:      Torbjorn Granlund <tg at gmplib.org>
date:      Sun Nov 27 01:17:25 2016 +0100
description:
(cgt_works_p): Add a missing verbosity check.

diffstat:

 tune/time.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 1890de258348 -r fd5eb90386a9 tune/time.c
--- a/tune/time.c	Sat Nov 26 02:58:34 2016 +0100
+++ b/tune/time.c	Sun Nov 27 01:17:25 2016 +0100
@@ -773,8 +773,8 @@
     }
 
   cgt_unittime = unit.tv_sec + unit.tv_nsec * 1e-9;
-  printf ("clock_gettime is %s accurate\n",
-	  unittime_string (cgt_unittime));
+  if (speed_option_verbose)
+    printf ("clock_gettime is %s accurate\n", unittime_string (cgt_unittime));
 
   if (cgt_unittime < 10e-9)
     {


More information about the gmp-commit mailing list