Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
73
Issues
73
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
darshan
darshan
Commits
94430f41
Commit
94430f41
authored
Mar 01, 2016
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix in aggregating common accesses
parent
04063da7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
darshan-util/darshan-mpiio-logutils.c
darshan-util/darshan-mpiio-logutils.c
+1
-0
darshan-util/darshan-posix-logutils.c
darshan-util/darshan-posix-logutils.c
+1
-1
No files found.
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
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