[Darshan-commits] [Git][darshan/darshan][dev-stdio-utils] clean out some refs to deprecated POSIX counters
Philip Carns
xgitlab at cels.anl.gov
Thu Jul 7 20:48:38 CDT 2016
Philip Carns pushed to branch dev-stdio-utils at darshan / darshan
Commits:
4ba7a24d by Phil Carns at 2016-07-07T21:48:21-04:00
clean out some refs to deprecated POSIX counters
- - - - -
1 changed file:
- darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
Changes:
=====================================
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
=====================================
--- a/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
+++ b/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
@@ -555,9 +555,9 @@ if (defined $summary{MPIIO_INDEP_OPENS})
# sequential and consecutive access patterns
open (PATTERN, ">$tmp_dir/pattern.dat") || die("error opening output file: $!\n");
print PATTERN "# op total sequential consecutive\n";
-print PATTERN "Read, ", $summary{POSIX_READS} + $summary{POSIX_FREADS}, ", ",
+print PATTERN "Read, ", $summary{POSIX_READS}, ", ",
$summary{POSIX_SEQ_READS}, ", ", $summary{POSIX_CONSEC_READS}, "\n";
-print PATTERN "Write, ", $summary{POSIX_WRITES} + $summary{POSIX_FWRITES}, ", ",
+print PATTERN "Write, ", $summary{POSIX_WRITES}, ", ",
$summary{POSIX_SEQ_WRITES}, ", ", $summary{POSIX_CONSEC_WRITES}, "\n";
close PATTERN;
@@ -1133,7 +1133,7 @@ sub process_file_record
}
if($file_record{'POSIX_OPENS'} == 0 &&
- $file_record{'POSIX_FOPENS'} == 0 &&
+ (!defined $file_record{'STDIO_OPENS'}) &&
(!defined $file_record{'MPIIO_INDEP_OPENS'} ||
($file_record{'MPIIO_INDEP_OPENS'} == 0 && $file_record{'MPIIO_COLL_OPENS'} == 0)))
{
@@ -1196,14 +1196,12 @@ sub process_file_record
else
{
# posix file
- if($file_record{'POSIX_READS'} > 0 ||
- $file_record{'POSIX_FREADS'} > 0)
+ if($file_record{'POSIX_READS'} > 0)
{
# data was read from the file
$hash_files{$hash}{'was_read'} = 1;
}
- if($file_record{'POSIX_WRITES'} > 0 ||
- $file_record{'POSIX_FWRITES'} > 0)
+ if($file_record{'POSIX_WRITES'} > 0)
{
# data was written to the file
$hash_files{$hash}{'was_written'} = 1;
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/4ba7a24d00dfb8e805e7018b9c577522777f10d5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20160707/bc049851/attachment-0001.html>
More information about the Darshan-commits
mailing list