diff --git a/swiftmpistepsim.c b/swiftmpistepsim.c
index 1e92d9ad3f920ac6696e691e7b34f54d9874c74e..9f57fb7b5c7e6d2306835674d4cb3b1ca06e0fb0 100644
--- a/swiftmpistepsim.c
+++ b/swiftmpistepsim.c
@@ -262,8 +262,9 @@ static void *send_thread(void *arg) {
"%.3f (%s)",
ncalls, clocks_from_ticks(sum), clocks_from_ticks(sum / ncalls),
clocks_from_ticks(mint), clocks_from_ticks(maxt), clocks_getunit());
- message("took %.3f %s.", clocks_from_ticks(getticks() - starttics),
- clocks_getunit());
+ if (verbose)
+ message("took %.3f %s.", clocks_from_ticks(getticks() - starttics),
+ clocks_getunit());
/* Thread exits. */
return NULL;
@@ -288,8 +289,9 @@ static void *recv_thread(void *arg) {
"%.3f (%s)",
ncalls, clocks_from_ticks(sum), clocks_from_ticks(sum / ncalls),
clocks_from_ticks(mint), clocks_from_ticks(maxt), clocks_getunit());
- message("took %.3f %s.", clocks_from_ticks(getticks() - starttics),
- clocks_getunit());
+ if (verbose)
+ message("took %.3f %s.", clocks_from_ticks(getticks() - starttics),
+ clocks_getunit());
/* Thread exits. */
return NULL;