Commit c6bc9f8a authored by Misbah Mubarak's avatar Misbah Mubarak

Removing debug messages from model-net test

parent 0e586bf5
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#include "codes/configuration.h" #include "codes/configuration.h"
#include "codes/lp-type-lookup.h" #include "codes/lp-type-lookup.h"
#define NUM_REQS 5 /* number of requests sent by each server */ #define NUM_REQS 2 /* number of requests sent by each server */
#define PAYLOAD_SZ 4096 /* size of simulated data payload, bytes */ #define PAYLOAD_SZ 4096 /* size of simulated data payload, bytes */
static int net_id = 0; static int net_id = 0;
...@@ -455,7 +455,7 @@ static void handle_ack_event( ...@@ -455,7 +455,7 @@ static void handle_ack_event(
memcpy(m_remote, m_local, sizeof(svr_msg)); memcpy(m_remote, m_local, sizeof(svr_msg));
m_remote->svr_event_type = (do_pull) ? ACK : REQ; m_remote->svr_event_type = (do_pull) ? ACK : REQ;
printf("handle_ack_event(), lp %llu.\n", (unsigned long long)lp->gid); //printf("handle_ack_event(), lp %llu.\n", (unsigned long long)lp->gid);
/* safety check that this request got to the right server */ /* safety check that this request got to the right server */
// printf("\n m->src %d lp->gid %d ", m->src, lp->gid); // printf("\n m->src %d lp->gid %d ", m->src, lp->gid);
...@@ -514,7 +514,7 @@ static void handle_req_event( ...@@ -514,7 +514,7 @@ static void handle_req_event(
memcpy(m_remote, m_local, sizeof(svr_msg)); memcpy(m_remote, m_local, sizeof(svr_msg));
m_remote->svr_event_type = ACK; m_remote->svr_event_type = ACK;
printf("handle_req_event(), lp %llu src %llu .\n", (unsigned long long)lp->gid, (unsigned long long) m->src); //printf("handle_req_event(), lp %llu src %llu .\n", (unsigned long long)lp->gid, (unsigned long long) m->src);
/* safety check that this request got to the right server */ /* safety check that this request got to the right server */
// printf("\n m->src %d lp->gid %d ", m->src, lp->gid); // printf("\n m->src %d lp->gid %d ", m->src, lp->gid);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment