void chpl_comm_startDiagnosticsHere(chpl_bool print_unstable) { chpl_comm_diags_print_unstable = (print_unstable == true); // Make sure that there are no pending communication operations. chpl_rmem_consist_release(0, 0); chpl_comm_diagnostics = 1; }
void chpl_comm_stopDiagnostics() { // Make sure that there are no pending communication operations. chpl_rmem_consist_release(0, 0); chpl_comm_diagnostics = 0; chpl_comm_diags_disable(); chpl_comm_bcast_rt_private(chpl_comm_diagnostics); chpl_comm_diags_enable(); }
void chpl_comm_startDiagnostics(chpl_bool print_unstable) { chpl_comm_diags_print_unstable = (print_unstable == true); if (pthread_once(&bcastPrintUnstable_once, broadcast_print_unstable) != 0) { chpl_internal_error("pthread_once(&bcastPrintUnstable_once) failed"); } // Make sure that there are no pending communication operations. chpl_rmem_consist_release(0, 0); chpl_comm_diagnostics = 1; chpl_comm_diags_disable(); chpl_comm_bcast_rt_private(chpl_comm_diagnostics); chpl_comm_diags_enable(); }
void chpl_gen_stopCommDiagnosticsHere(void) { // Make sure that there are no pending communication operations. chpl_rmem_consist_release(__LINE__, __FILE__); // And then stop the comm diagnostics as usual. chpl_stopCommDiagnosticsHere(); }
void chpl_gen_startCommDiagnosticsHere(void) { // Make sure that there are no pending communication operations. chpl_rmem_consist_release(0, 0); // And then start the comm diagnostics as usual. chpl_startCommDiagnosticsHere(); }
void chpl_comm_stopDiagnosticsHere() { // Make sure that there are no pending communication operations. chpl_rmem_consist_release(0, 0); chpl_comm_diagnostics = 0; }