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
18eb813e
Commit
18eb813e
authored
Dec 01, 2020
by
Philip Carns
Browse files
filter out negative mmap values when plotting
parent
583afaa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
View file @
18eb813e
...
@@ -427,6 +427,12 @@ close TIME_SUMMARY;
...
@@ -427,6 +427,12 @@ close TIME_SUMMARY;
# counts of operations
# counts of operations
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
";
# filter out negative mmap values (these indicate that mmap was not
# instrumented by Darshan; the value is not meaningful to plot)
if
(
$summary
{
POSIX_MMAPS
}
<
0
)
{
$summary
{
POSIX_MMAPS
}
=
0
;
}
if
(
defined
$summary
{
POSIX_OPENS
})
if
(
defined
$summary
{
POSIX_OPENS
})
{
{
print
PSX_OP_COUNTS
print
PSX_OP_COUNTS
...
...
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