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
Michael Buehlmann
GenericIO
Commits
d6628a65
Commit
d6628a65
authored
Apr 02, 2018
by
Hal Finkel
Browse files
Fully qualify uses of cout
parent
56b997ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
GenericIO.cxx
View file @
d6628a65
...
...
@@ -734,9 +734,9 @@ nocomp:
if
(
Rank
==
0
)
{
double
Rate
=
((
double
)
FileSize
)
/
MaxTotalTime
/
(
1024.
*
1024.
);
cout
<<
"Wrote "
<<
Vars
.
size
()
<<
" variables to "
<<
FileName
<<
" ("
<<
FileSize
<<
" bytes) in "
<<
MaxTotalTime
<<
"s: "
<<
Rate
<<
" MB/s"
<<
endl
;
std
::
cout
<<
"Wrote "
<<
Vars
.
size
()
<<
" variables to "
<<
FileName
<<
" ("
<<
FileSize
<<
" bytes) in "
<<
MaxTotalTime
<<
"s: "
<<
Rate
<<
" MB/s"
<<
std
::
endl
;
}
MPI_Comm_free
(
&
SplitComm
);
...
...
@@ -1331,9 +1331,9 @@ void GenericIO::readData(int EffRank, bool PrintStats, bool CollStats) {
if
(
Rank
==
0
&&
PrintStats
)
{
double
Rate
=
((
double
)
AllTotalReadSize
)
/
MaxTotalTime
/
(
1024.
*
1024.
);
cout
<<
"Read "
<<
Vars
.
size
()
<<
" variables from "
<<
FileName
<<
" ("
<<
AllTotalReadSize
<<
" bytes) in "
<<
MaxTotalTime
<<
"s: "
<<
Rate
<<
" MB/s [excluding header read]"
<<
endl
;
std
::
cout
<<
"Read "
<<
Vars
.
size
()
<<
" variables from "
<<
FileName
<<
" ("
<<
AllTotalReadSize
<<
" bytes) in "
<<
MaxTotalTime
<<
"s: "
<<
Rate
<<
" MB/s [excluding header read]"
<<
std
::
endl
;
}
}
...
...
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