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
codes
codes
Commits
ef1a4316
Commit
ef1a4316
authored
Aug 07, 2013
by
Misbah Mubarak
Browse files
Merge branch 'master' of git.mcs.anl.gov:radix/codes-net
parents
054aebc4
724dcaf6
Changes
2
Hide whitespace changes
Inline
Side-by-side
codes/torus.h
View file @
ef1a4316
...
...
@@ -122,8 +122,8 @@ tw_stime max_latency = 0;
float
head_delay
=
0
.
0
;
float
credit_delay
=
0
.
0
;
static
unsigned
long
long
N_finished_packets
=
0
;
static
unsigned
long
long
total_hops
=
0
;
static
long
long
N_finished_packets
=
0
;
static
long
long
total_hops
=
0
;
// run time arguments
int
num_packets
;
int
num_chunks
;
...
...
src/models/networks/model-net/simplenet-upd.c
View file @
ef1a4316
...
...
@@ -218,7 +218,7 @@ static void sn_init(
sn_state
*
ns
,
tw_lp
*
lp
)
{
uint32_t
h1
,
h2
;
uint32_t
h1
=
0
,
h2
=
0
;
memset
(
ns
,
0
,
sizeof
(
*
ns
));
/* all devices are idle to begin with */
...
...
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