Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
c6bc9f8a
Commit
c6bc9f8a
authored
Sep 14, 2015
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removing debug messages from model-net test
parent
0e586bf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tests/modelnet-test.c
tests/modelnet-test.c
+3
-3
No files found.
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
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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