Skip to content

Commit

Permalink
Removing debug print message
Browse files Browse the repository at this point in the history
  • Loading branch information
khuck committed Mar 20, 2024
1 parent 902964f commit fbcc72e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/apex/apex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,12 +585,12 @@ uint64_t init(const char * thread_name, uint64_t comm_rank,
enable_memory_wrapper();
#endif
if (apex_options::delay_memory_tracking()) {
if (instance->get_node_id() == 0) {
if (instance->get_node_id() == 0 && apex_options::use_verbose()) {
std::cout << "Pausing memory tracking until further notice..." << std::endl;
}
controlMemoryWrapper(false);
} else {
if (instance->get_node_id() == 0) {
if (instance->get_node_id() == 0 && apex_options::use_verbose()) {
std::cout << "Enabling memory tracking!" << std::endl;
}
controlMemoryWrapper(true);
Expand Down Expand Up @@ -1697,7 +1697,7 @@ std::string dump(bool reset, bool finalizing) {
index = index + 1;
if (apex_options::delay_memory_tracking() &&
index > apex_options::delay_memory_iterations()) {
if (instance->get_node_id() == 0) {
if (instance->get_node_id() == 0 && apex_options::use_verbose()) {
std::cout << "Enabling memory tracking!" << std::endl;
}
controlMemoryWrapper(true);
Expand Down

0 comments on commit fbcc72e

Please sign in to comment.