The ROme OpTimistic Simulator  3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
termination.h File Reference

Termination detection module. More...

#include <core/core.h>
#include <stdatomic.h>
+ Include dependency graph for termination.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define termination_cant_end()   (atomic_load_explicit(&nodes_to_end, memory_order_relaxed) > 0)
 

Functions

void termination_global_init (void)
 
void termination_lp_init (void)
 
void termination_on_msg_process (simtime_t msg_time)
 
void termination_on_gvt (simtime_t current_gvt)
 
void termination_on_lp_rollback (simtime_t msg_time)
 
void termination_on_ctrl_msg (void)
 
void termination_force (void)
 

Variables

atomic_int nodes_to_end
 

Detailed Description

Termination detection module.

Definition in file termination.h.