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
darshan
darshan
Commits
94430f41
Commit
94430f41
authored
Mar 01, 2016
by
Shane Snyder
Browse files
bug fix in aggregating common accesses
parent
04063da7
Changes
2
Hide whitespace changes
Inline
Side-by-side
darshan-util/darshan-mpiio-logutils.c
View file @
94430f41
...
...
@@ -331,6 +331,7 @@ static void darshan_log_agg_mpiio_files(void *rec, void *agg_rec, int init_flag)
memset
(
tmp_val
,
0
,
4
*
sizeof
(
int64_t
));
memset
(
tmp_cnt
,
0
,
4
*
sizeof
(
int64_t
));
if
(
mpi_rec
->
counters
[
j
]
==
0
)
break
;
for
(
k
=
0
;
k
<
4
;
k
++
)
{
if
(
agg_mpi_rec
->
counters
[
i
+
k
]
==
mpi_rec
->
counters
[
j
])
...
...
darshan-util/darshan-posix-logutils.c
View file @
94430f41
...
...
@@ -326,7 +326,6 @@ static void darshan_log_agg_posix_files(void *rec, void *agg_rec, int init_flag)
case
POSIX_STRIDE1_STRIDE
:
case
POSIX_ACCESS1_ACCESS
:
/* increment common value counters */
if
(
psx_rec
->
counters
[
i
]
==
0
)
break
;
/* first, collapse duplicates */
for
(
j
=
i
;
j
<
i
+
4
;
j
++
)
...
...
@@ -348,6 +347,7 @@ static void darshan_log_agg_posix_files(void *rec, void *agg_rec, int init_flag)
memset
(
tmp_val
,
0
,
4
*
sizeof
(
int64_t
));
memset
(
tmp_cnt
,
0
,
4
*
sizeof
(
int64_t
));
if
(
psx_rec
->
counters
[
j
]
==
0
)
break
;
for
(
k
=
0
;
k
<
4
;
k
++
)
{
if
(
agg_psx_rec
->
counters
[
i
+
k
]
==
psx_rec
->
counters
[
j
])
...
...
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