Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
12052780
Commit
12052780
authored
May 26, 2016
by
Misbah Mubarak
Browse files
Changing message sizes to uint64_t
parent
55d81a5f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
scripts/allocation_gen/allocation.conf
View file @
12052780
This diff is collapsed.
Click to expand it.
scripts/allocation_gen/config_alloc.conf
View file @
12052780
CONT
10
56
216
125
100
rand
52
56
4096
src/networks/model-net/dragonfly.c
View file @
12052780
...
...
@@ -233,7 +233,7 @@ struct terminal_state
uint64_t
rank_tbl_pop
;
tw_stime
total_time
;
long
total_msg_size
;
uint64_t
total_msg_size
;
double
total_hops
;
long
finished_msgs
;
long
finished_chunks
;
...
...
@@ -1467,6 +1467,7 @@ void packet_arrive(terminal_state * s, tw_bf * bf, terminal_message * msg,
unsigned
int
total_chunks
=
msg
->
total_size
/
s
->
params
->
chunk_size
;
printf
(
"
\n
Msg total size %ld total chunks %lu "
,
msg
->
total_size
,
total_chunks
);
if
(
msg
->
total_size
%
s
->
params
->
chunk_size
)
total_chunks
++
;
...
...
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