Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
61
Issues
61
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
8d3a2c8a
Commit
8d3a2c8a
authored
May 01, 2016
by
Philip Carns
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into dev-stdio
parents
841429de
f88ebef6
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
6 deletions
+12
-6
darshan-hdf5.c
darshan-runtime/lib/darshan-hdf5.c
+4
-2
darshan-mpiio.c
darshan-runtime/lib/darshan-mpiio.c
+2
-1
darshan-pnetcdf.c
darshan-runtime/lib/darshan-pnetcdf.c
+4
-2
darshan-posix.c
darshan-runtime/lib/darshan-posix.c
+2
-1
No files found.
darshan-runtime/lib/darshan-hdf5.c
View file @
8d3a2c8a
...
...
@@ -115,7 +115,8 @@ hid_t DARSHAN_DECL(H5Fcreate)(const char *filename, unsigned flags,
file
=
hdf5_file_by_name_sethid
(
filename
,
ret
);
if
(
file
)
{
if
(
file
->
file_record
->
fcounters
[
HDF5_F_OPEN_TIMESTAMP
]
==
0
)
if
(
file
->
file_record
->
fcounters
[
HDF5_F_OPEN_TIMESTAMP
]
==
0
||
file
->
file_record
->
fcounters
[
HDF5_F_OPEN_TIMESTAMP
]
>
tm1
)
file
->
file_record
->
fcounters
[
HDF5_F_OPEN_TIMESTAMP
]
=
tm1
;
file
->
file_record
->
counters
[
HDF5_OPENS
]
+=
1
;
}
...
...
@@ -154,7 +155,8 @@ hid_t DARSHAN_DECL(H5Fopen)(const char *filename, unsigned flags,
file
=
hdf5_file_by_name_sethid
(
filename
,
ret
);
if
(
file
)
{
if
(
file
->
file_record
->
fcounters
[
HDF5_F_OPEN_TIMESTAMP
]
==
0
)
if
(
file
->
file_record
->
fcounters
[
HDF5_F_OPEN_TIMESTAMP
]
==
0
||
file
->
file_record
->
fcounters
[
HDF5_F_OPEN_TIMESTAMP
]
>
tm1
)
file
->
file_record
->
fcounters
[
HDF5_F_OPEN_TIMESTAMP
]
=
tm1
;
file
->
file_record
->
counters
[
HDF5_OPENS
]
+=
1
;
}
...
...
darshan-runtime/lib/darshan-mpiio.c
View file @
8d3a2c8a
...
...
@@ -151,7 +151,8 @@ static void mpiio_shutdown(void);
file->file_record->counters[MPIIO_COLL_OPENS] += 1; \
if(__info != MPI_INFO_NULL) \
file->file_record->counters[MPIIO_HINTS] += 1; \
if(file->file_record->fcounters[MPIIO_F_OPEN_TIMESTAMP] == 0) \
if(file->file_record->fcounters[MPIIO_F_OPEN_TIMESTAMP] == 0 || \
file->file_record->fcounters[MPIIO_F_OPEN_TIMESTAMP] > __tm1) \
file->file_record->fcounters[MPIIO_F_OPEN_TIMESTAMP] = __tm1; \
DARSHAN_TIMER_INC_NO_OVERLAP(file->file_record->fcounters[MPIIO_F_META_TIME], __tm1, __tm2, file->last_meta_end); \
} while(0)
...
...
darshan-runtime/lib/darshan-pnetcdf.c
View file @
8d3a2c8a
...
...
@@ -112,7 +112,8 @@ int DARSHAN_DECL(ncmpi_create)(MPI_Comm comm, const char *path,
file
=
pnetcdf_file_by_name_setncid
(
path
,
(
*
ncidp
));
if
(
file
)
{
if
(
file
->
file_record
->
fcounters
[
PNETCDF_F_OPEN_TIMESTAMP
]
==
0
)
if
(
file
->
file_record
->
fcounters
[
PNETCDF_F_OPEN_TIMESTAMP
]
==
0
||
file
->
file_record
->
fcounters
[
PNETCDF_F_OPEN_TIMESTAMP
]
>
tm1
)
file
->
file_record
->
fcounters
[
PNETCDF_F_OPEN_TIMESTAMP
]
=
tm1
;
DARSHAN_MPI_CALL
(
PMPI_Comm_size
)(
comm
,
&
comm_size
);
if
(
comm_size
==
1
)
...
...
@@ -160,7 +161,8 @@ int DARSHAN_DECL(ncmpi_open)(MPI_Comm comm, const char *path,
file
=
pnetcdf_file_by_name_setncid
(
path
,
(
*
ncidp
));
if
(
file
)
{
if
(
file
->
file_record
->
fcounters
[
PNETCDF_F_OPEN_TIMESTAMP
]
==
0
)
if
(
file
->
file_record
->
fcounters
[
PNETCDF_F_OPEN_TIMESTAMP
]
==
0
||
file
->
file_record
->
fcounters
[
PNETCDF_F_OPEN_TIMESTAMP
]
>
tm1
)
file
->
file_record
->
fcounters
[
PNETCDF_F_OPEN_TIMESTAMP
]
=
tm1
;
DARSHAN_MPI_CALL
(
PMPI_Comm_size
)(
comm
,
&
comm_size
);
if
(
comm_size
==
1
)
...
...
darshan-runtime/lib/darshan-posix.c
View file @
8d3a2c8a
...
...
@@ -224,7 +224,8 @@ static void posix_shutdown(void);
file->file_record->counters[POSIX_FOPENS] += 1; \
else \
file->file_record->counters[POSIX_OPENS] += 1; \
if(file->file_record->fcounters[POSIX_F_OPEN_TIMESTAMP] == 0) \
if(file->file_record->fcounters[POSIX_F_OPEN_TIMESTAMP] == 0 || \
file->file_record->fcounters[POSIX_F_OPEN_TIMESTAMP] > __tm1) \
file->file_record->fcounters[POSIX_F_OPEN_TIMESTAMP] = __tm1; \
DARSHAN_TIMER_INC_NO_OVERLAP(file->file_record->fcounters[POSIX_F_META_TIME], __tm1, __tm2, file->last_meta_end); \
} while(0)
...
...
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