Commit 7c28126d authored by Samuel Pitoiset's avatar Samuel Pitoiset

Tests/noDist: allow to monitor RSS for classic algorithms too

parent 28b7aa50
......@@ -541,7 +541,12 @@ struct RunContainer{
}
} // -----------------------------------------------------
#ifdef MEMORY_USAGE
// Get the maximum resident set size (RSS) in kilobytes
struct rusage usage;
getrusage(RUSAGE_SELF, &usage);
std::cout << "Done " << "(@RSS = " << usage.ru_maxrss << "KB)." << std::endl;
#endif
if(FParameters::existParameter(argc, argv, LocalOptionNoValidate.options) == false){
// -----------------------------------------------------
FMath::FAccurater<FReal> potentialDiff;
......
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