Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 2bbd04ef authored by Samuel Pitoiset's avatar Samuel Pitoiset

Tests/noDist: allow to monitor RSS in testBlockedUniformCompare

parent b926ea5e
......@@ -60,6 +60,11 @@
#include "Utils/FTemplate.hpp"
#include <sys/time.h>
#include <sys/resource.h>
const FParameterNames LocalOrder { {"-order"}, "Order of the kernel"};
......@@ -651,6 +656,13 @@ struct RunContainer{
std::cout << "Done " << "(@Algorithm = " << timer.tacAndElapsed() << "s)." << std::endl;
// Get the maximum resident set size (RSS) in kilobytes
struct rusage usage;
getrusage(RUSAGE_SELF, &usage);
fprintf(stderr, "(@RSS = %ldKB\n", usage.ru_maxrss);
// Validate the result
if(FParameters::existParameter(argc, argv, LocalOptionNoValidate.options) == false){
FSize offsetParticles = 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