Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xin Wang
codes-dev
Commits
12052780
Commit
12052780
authored
May 26, 2016
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changing message sizes to uint64_t
parent
55d81a5f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
scripts/allocation_gen/allocation.conf
scripts/allocation_gen/allocation.conf
+1
-3
scripts/allocation_gen/config_alloc.conf
scripts/allocation_gen/config_alloc.conf
+3
-3
src/networks/model-net/dragonfly.c
src/networks/model-net/dragonfly.c
+2
-1
No files found.
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