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
5121ea53
Commit
5121ea53
authored
Jul 07, 2015
by
Jonathan Jenkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
workloads: increase precision of time printouts
parent
b1a4905e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/workload/codes-workload.c
src/workload/codes-workload.c
+6
-6
No files found.
src/workload/codes-workload.c
View file @
5121ea53
...
...
@@ -243,7 +243,7 @@ void codes_workload_print_op(
case
CODES_WK_SEND
:
fprintf
(
f
,
"op: app:%d rank:%d type:send "
"src:%d dst:%d bytes:%d type:%d count:%d tag:%d "
"start:%.
3e end:%.3
e
\n
"
,
"start:%.
5e end:%.5
e
\n
"
,
app_id
,
rank
,
op
->
u
.
send
.
source_rank
,
op
->
u
.
send
.
dest_rank
,
op
->
u
.
send
.
num_bytes
,
op
->
u
.
send
.
data_type
,
...
...
@@ -253,7 +253,7 @@ void codes_workload_print_op(
case
CODES_WK_RECV
:
fprintf
(
f
,
"op: app:%d rank:%d type:recv "
"src:%d dst:%d bytes:%d type:%d count:%d tag:%d
\n
"
"start:%.
3e end:%.3
e
\n
"
,
"start:%.
5e end:%.5
e
\n
"
,
app_id
,
rank
,
op
->
u
.
recv
.
source_rank
,
op
->
u
.
recv
.
dest_rank
,
op
->
u
.
recv
.
num_bytes
,
op
->
u
.
recv
.
data_type
,
...
...
@@ -263,7 +263,7 @@ void codes_workload_print_op(
case
CODES_WK_ISEND
:
fprintf
(
f
,
"op: app:%d rank:%d type:isend "
"src:%d dst:%d bytes:%d type:%d count:%d tag:%d
\n
"
"start:%.
3e end:%.3
e
\n
"
,
"start:%.
5e end:%.5
e
\n
"
,
app_id
,
rank
,
op
->
u
.
send
.
source_rank
,
op
->
u
.
send
.
dest_rank
,
op
->
u
.
send
.
num_bytes
,
op
->
u
.
send
.
data_type
,
...
...
@@ -273,7 +273,7 @@ void codes_workload_print_op(
case
CODES_WK_IRECV
:
fprintf
(
f
,
"op: app:%d rank:%d type:irecv "
"src:%d dst:%d bytes:%d type:%d count:%d tag:%d
\n
"
"start:%.
3e end:%.3
e
\n
"
,
"start:%.
5e end:%.5
e
\n
"
,
app_id
,
rank
,
op
->
u
.
recv
.
source_rank
,
op
->
u
.
recv
.
dest_rank
,
op
->
u
.
recv
.
num_bytes
,
op
->
u
.
recv
.
data_type
,
...
...
@@ -282,7 +282,7 @@ void codes_workload_print_op(
break
;
#define PRINT_COL(_type_str) \
fprintf(f, "op: app:%d rank:%d type:%s" \
" bytes:%d, start:%.
3e, end:%.3
e\n", app_id, rank, \
" bytes:%d, start:%.
5e, end:%.5
e\n", app_id, rank, \
_type_str, op->u.collective.num_bytes, op->start_time, \
op->end_time)
case
CODES_WK_BCAST
:
...
...
@@ -312,7 +312,7 @@ void codes_workload_print_op(
#undef PRINT_COL
#define PRINT_WAIT(_type_str, _ct) \
fprintf(f, "op: app:%d rank:%d type:%s" \
"num reqs:%d, start:%.
3e, end:%.3
e\n", \
"num reqs:%d, start:%.
5e, end:%.5
e\n", \
app_id, rank, _type_str, _ct, op->start_time, op->end_time)
case
CODES_WK_WAITALL
:
PRINT_WAIT
(
"waitall"
,
op
->
u
.
waits
.
count
);
...
...
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