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
72
Issues
72
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
30336460
Commit
30336460
authored
Aug 07, 2015
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fix for module logutils
parent
6959ca27
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
12 deletions
+20
-12
darshan-util/darshan-hdf5-logutils.c
darshan-util/darshan-hdf5-logutils.c
+5
-3
darshan-util/darshan-mpiio-logutils.c
darshan-util/darshan-mpiio-logutils.c
+5
-3
darshan-util/darshan-pnetcdf-logutils.c
darshan-util/darshan-pnetcdf-logutils.c
+5
-3
darshan-util/darshan-posix-logutils.c
darshan-util/darshan-posix-logutils.c
+5
-3
No files found.
darshan-util/darshan-hdf5-logutils.c
View file @
30336460
...
...
@@ -42,6 +42,7 @@ int darshan_log_get_hdf5_file(darshan_fd fd, void **file_rec,
int
i
;
int
ret
;
struct
darshan_hdf5_file
*
file
=
NULL
;
*
rec_id
=
0
;
file
=
malloc
(
sizeof
(
*
file
));
if
(
!
file
)
...
...
@@ -62,11 +63,12 @@ int darshan_log_get_hdf5_file(darshan_fd fd, void **file_rec,
for
(
i
=
0
;
i
<
HDF5_F_NUM_INDICES
;
i
++
)
DARSHAN_BSWAP64
(
&
file
->
fcounters
[
i
]);
}
/* pass the file record back */
*
file_rec
=
(
void
*
)
file
;
*
rec_id
=
file
->
f_id
;
}
/* pass the file record back */
*
file_rec
=
(
void
*
)
file
;
*
rec_id
=
file
->
f_id
;
return
(
ret
);
}
...
...
darshan-util/darshan-mpiio-logutils.c
View file @
30336460
...
...
@@ -42,6 +42,7 @@ int darshan_log_get_mpiio_file(darshan_fd fd, void **file_rec,
int
i
;
int
ret
;
struct
darshan_mpiio_file
*
file
=
NULL
;
*
rec_id
=
0
;
file
=
malloc
(
sizeof
(
*
file
));
if
(
!
file
)
...
...
@@ -62,11 +63,12 @@ int darshan_log_get_mpiio_file(darshan_fd fd, void **file_rec,
for
(
i
=
0
;
i
<
MPIIO_F_NUM_INDICES
;
i
++
)
DARSHAN_BSWAP64
(
&
file
->
fcounters
[
i
]);
}
/* pass the file record back */
*
file_rec
=
(
void
*
)
file
;
*
rec_id
=
file
->
f_id
;
}
/* pass the file record back */
*
file_rec
=
(
void
*
)
file
;
*
rec_id
=
file
->
f_id
;
return
(
ret
);
}
...
...
darshan-util/darshan-pnetcdf-logutils.c
View file @
30336460
...
...
@@ -42,6 +42,7 @@ int darshan_log_get_pnetcdf_file(darshan_fd fd, void **file_rec,
int
i
;
int
ret
;
struct
darshan_pnetcdf_file
*
file
=
NULL
;
*
rec_id
=
0
;
file
=
malloc
(
sizeof
(
*
file
));
if
(
!
file
)
...
...
@@ -62,11 +63,12 @@ int darshan_log_get_pnetcdf_file(darshan_fd fd, void **file_rec,
for
(
i
=
0
;
i
<
PNETCDF_F_NUM_INDICES
;
i
++
)
DARSHAN_BSWAP64
(
&
file
->
fcounters
[
i
]);
}
/* pass the file record back */
*
file_rec
=
(
void
*
)
file
;
*
rec_id
=
file
->
f_id
;
}
/* pass the file record back */
*
file_rec
=
(
void
*
)
file
;
*
rec_id
=
file
->
f_id
;
return
(
ret
);
}
...
...
darshan-util/darshan-posix-logutils.c
View file @
30336460
...
...
@@ -42,6 +42,7 @@ int darshan_log_get_posix_file(darshan_fd fd, void **file_rec,
int
i
;
int
ret
;
struct
darshan_posix_file
*
file
=
NULL
;
*
rec_id
=
0
;
file
=
malloc
(
sizeof
(
*
file
));
if
(
!
file
)
...
...
@@ -62,11 +63,12 @@ int darshan_log_get_posix_file(darshan_fd fd, void **file_rec,
for
(
i
=
0
;
i
<
POSIX_F_NUM_INDICES
;
i
++
)
DARSHAN_BSWAP64
(
&
file
->
fcounters
[
i
]);
}
/* pass the file record back */
*
file_rec
=
(
void
*
)
file
;
*
rec_id
=
file
->
f_id
;
}
/* pass the file record back */
*
file_rec
=
(
void
*
)
file
;
*
rec_id
=
file
->
f_id
;
return
(
ret
);
}
...
...
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