Commit afc0784e authored by frey_m's avatar frey_m
Browse files

AMR test case: Update writing Ippl timing file for testUniform.cpp

modified:   ippl/test/AMR/testUniform.cpp
parent 8ad74c13
......@@ -26,6 +26,7 @@
#include <iostream>
#include <set>
#include <sstream>
#include <iomanip>
#include <ParmParse.H>
......@@ -292,12 +293,12 @@ int main(int argc, char *argv[]) {
IpplTimings::print();
std::string timefile = std::string(argv[0])
+ "-timing-cores-"
+ std::to_string(Ippl::getNodes())
+ "-threads-1.dat";
std::stringstream timefile;
timefile << std::string(argv[0]) << "-timing-cores-"
<< std::setfill('0') << std::setw(6) << Ippl::getNodes()
<< "-threads-1.dat";
IpplTimings::print(timefile);
IpplTimings::print(timefile.str());
return 0;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment