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
darshan
darshan
Commits
c877a1c1
Commit
c877a1c1
authored
Sep 12, 2016
by
Shane Snyder
Browse files
remove POSIX fstream references from job-summary
parent
7f05cf73
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
View file @
c877a1c1
...
@@ -396,9 +396,9 @@ close TIME_SUMMARY;
...
@@ -396,9 +396,9 @@ close TIME_SUMMARY;
open
(
PSX_OP_COUNTS
,
"
>
$tmp_dir
/posix-op-counts.dat
")
||
die
("
error opening output file: $!
\n
");
open
(
PSX_OP_COUNTS
,
"
>
$tmp_dir
/posix-op-counts.dat
")
||
die
("
error opening output file: $!
\n
");
print
PSX_OP_COUNTS
"
# <operation>, <POSIX count>
\n
";
print
PSX_OP_COUNTS
"
# <operation>, <POSIX count>
\n
";
print
PSX_OP_COUNTS
print
PSX_OP_COUNTS
"
Read,
",
$summary
{
POSIX_READS
}
+
$summary
{
POSIX_FREADS
}
,
"
\n
",
"
Read,
",
$summary
{
POSIX_READS
},
"
\n
",
"
Write,
",
$summary
{
POSIX_WRITES
}
+
$summary
{
POSIX_FWRITES
}
,
"
\n
",
"
Write,
",
$summary
{
POSIX_WRITES
},
"
\n
",
"
Open,
",
$summary
{
POSIX_OPENS
}
+
$summary
{
POSIX_FOPENS
}
,
"
\n
",
"
Open,
",
$summary
{
POSIX_OPENS
},
"
\n
",
"
Stat,
",
$summary
{
POSIX_STATS
},
"
\n
",
"
Stat,
",
$summary
{
POSIX_STATS
},
"
\n
",
"
Seek,
",
$summary
{
POSIX_SEEKS
},
"
\n
",
"
Seek,
",
$summary
{
POSIX_SEEKS
},
"
\n
",
"
Mmap,
",
$summary
{
POSIX_MMAPS
},
"
\n
",
"
Mmap,
",
$summary
{
POSIX_MMAPS
},
"
\n
",
...
@@ -496,9 +496,9 @@ if (defined $summary{MPIIO_INDEP_OPENS})
...
@@ -496,9 +496,9 @@ if (defined $summary{MPIIO_INDEP_OPENS})
# sequential and consecutive access patterns
# sequential and consecutive access patterns
open
(
PATTERN
,
"
>
$tmp_dir
/pattern.dat
")
||
die
("
error opening output file: $!
\n
");
open
(
PATTERN
,
"
>
$tmp_dir
/pattern.dat
")
||
die
("
error opening output file: $!
\n
");
print
PATTERN
"
# op total sequential consecutive
\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
";
$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
";
$summary
{
POSIX_SEQ_WRITES
},
"
,
",
$summary
{
POSIX_CONSEC_WRITES
},
"
\n
";
close
PATTERN
;
close
PATTERN
;
...
@@ -1047,7 +1047,6 @@ sub process_file_record
...
@@ -1047,7 +1047,6 @@ sub process_file_record
}
}
if
(
$file_record
{'
POSIX_OPENS
'}
==
0
&&
if
(
$file_record
{'
POSIX_OPENS
'}
==
0
&&
$file_record
{'
POSIX_FOPENS
'}
==
0
&&
(
!
defined
$file_record
{'
MPIIO_INDEP_OPENS
'}
||
(
!
defined
$file_record
{'
MPIIO_INDEP_OPENS
'}
||
(
$file_record
{'
MPIIO_INDEP_OPENS
'}
==
0
&&
$file_record
{'
MPIIO_COLL_OPENS
'}
==
0
)))
(
$file_record
{'
MPIIO_INDEP_OPENS
'}
==
0
&&
$file_record
{'
MPIIO_COLL_OPENS
'}
==
0
)))
{
{
...
@@ -1110,14 +1109,12 @@ sub process_file_record
...
@@ -1110,14 +1109,12 @@ sub process_file_record
else
else
{
{
# posix file
# posix file
if
(
$file_record
{'
POSIX_READS
'}
>
0
||
if
(
$file_record
{'
POSIX_READS
'}
>
0
)
$file_record
{'
POSIX_FREADS
'}
>
0
)
{
{
# data was read from the file
# data was read from the file
$hash_files
{
$hash
}{'
was_read
'}
=
1
;
$hash_files
{
$hash
}{'
was_read
'}
=
1
;
}
}
if
(
$file_record
{'
POSIX_WRITES
'}
>
0
||
if
(
$file_record
{'
POSIX_WRITES
'}
>
0
)
$file_record
{'
POSIX_FWRITES
'}
>
0
)
{
{
# data was written to the file
# data was written to the file
$hash_files
{
$hash
}{'
was_written
'}
=
1
;
$hash_files
{
$hash
}{'
was_written
'}
=
1
;
...
...
Shane Snyder
@ssnyder
mentioned in issue
#194 (closed)
·
Sep 12, 2016
mentioned in issue
#194 (closed)
mentioned in issue #194
Toggle commit list
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