Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
c6bc9f8a
Commit
c6bc9f8a
authored
Sep 14, 2015
by
Misbah Mubarak
Browse files
Removing debug messages from model-net test
parent
0e586bf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/modelnet-test.c
View file @
c6bc9f8a
...
...
@@ -24,7 +24,7 @@
#include
"codes/configuration.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 */
static
int
net_id
=
0
;
...
...
@@ -455,7 +455,7 @@ static void handle_ack_event(
memcpy
(
m_remote
,
m_local
,
sizeof
(
svr_msg
));
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 */
// printf("\n m->src %d lp->gid %d ", m->src, lp->gid);
...
...
@@ -514,7 +514,7 @@ static void handle_req_event(
memcpy
(
m_remote
,
m_local
,
sizeof
(
svr_msg
));
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 */
// printf("\n m->src %d lp->gid %d ", m->src, lp->gid);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment