Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
intel-hpdd
darshan-dxlt
Commits
30336460
Commit
30336460
authored
Aug 07, 2015
by
Shane Snyder
Browse files
small fix for module logutils
parent
6959ca27
Changes
4
Hide whitespace changes
Inline
Side-by-side
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