Skip to content

Commit

Permalink
#1009 add serialize method for theMemUsage component
Browse files Browse the repository at this point in the history
  • Loading branch information
cz4rs committed Sep 15, 2020
1 parent d95eac5 commit 61221ee
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/unit/runtime/test_memory_footprint.nompi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
#include "vt/vrt/collection/balance/lb_invoke/lb_manager.h"
#include "vt/vrt/collection/balance/stats_restart_reader.h"
#include "vt/vrt/collection/balance/node_stats.h"
#include "vt/utils/memory/memory_usage.h"

#include "test_harness.h"

Expand Down Expand Up @@ -90,4 +91,10 @@ TEST_F(TestMemoryFootprinting, test_node_stats) {
printMemoryFootprint(stats);
}

// FIXME: segfaults, requires 'vt_memory_reporters' from theConfig
// TEST_F(TestMemoryFootprinting, test_memory_usage) {
// vt::util::memory::MemoryUsage mem_usage;
// printMemoryFootprint(mem_usage);
// }

}}} /* end namespace vt::tests::unit */

0 comments on commit 61221ee

Please sign in to comment.