]> git.openfabrics.org - ~ardavis/dapl.git/commitdiff
dtest: Clean 4 printf from the middle of performance test. That may add time fot...
authorAmir Hanania <amir.hanania@intel.com>
Wed, 18 May 2016 17:36:31 +0000 (10:36 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Wed, 18 May 2016 17:36:31 +0000 (10:36 -0700)
Signed-off-by: Amir Hanania <amir.hanania@intel.com>
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
test/dtest/dtest.c

index a9f3cb23ccc6dafb19814912f5eeef6c08014725..4d12d76a81b384c438cdd1e628813b009fb40847 100755 (executable)
@@ -1976,7 +1976,7 @@ done:
        if (server)
                goto rmsg;
 smsg:
-       printf("%d sending LAST msg ACK to remote\n", getpid());
+       LOGPRINTF("%d sending LAST msg ACK to remote\n", getpid());
        /* Send last message received ACK message back */
        cookie.as_64 = 0x9999;
        ret = send_msg(p_rmr_snd,
@@ -1996,14 +1996,14 @@ smsg:
                goto acked;
 rmsg:
        /* Wait for my LAST message ACK from remote side */
-       printf("%d waiting for LAST msg ACK from remote\n", getpid());
+       LOGPRINTF("%d waiting for LAST msg ACK from remote\n", getpid());
        if (collect_event(h_dto_rcv_evd,
                          &event,
                          DTO_TIMEOUT,
                          &rdma_wr_poll_count) != DAT_SUCCESS)
                return (DAT_ABORT);
 
-       printf("%d LAST rdma write ACK message arrived!\n", getpid());
+       LOGPRINTF("%d LAST rdma write ACK message arrived!\n", getpid());
        if (event.event_number != DAT_DTO_COMPLETION_EVENT) {
                fprintf(stderr, "%d Error unexpected DTO event : %s\n",
                        getpid(), DT_EventToStr(event.event_number));
@@ -2020,7 +2020,7 @@ rmsg:
                        (int)sizeof(DAT_RMR_TRIPLET), recv_msg_index);
                return (DAT_ABORT);
        }
-       printf("%d LAST RDMA_WRITE ACK from remote \n", getpid());
+       LOGPRINTF("%d LAST RDMA_WRITE ACK from remote \n", getpid());
 
        if (server)
                goto smsg;