The ROme OpTimistic Simulator  2.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
ccgs.h
Go to the documentation of this file.
1 
37 #pragma once
38 
39 enum {
44 };
45 
46 #include <mm/state.h>
47 
48 extern inline bool ccgs_can_halt_simulation(void);
49 extern void ccgs_reduce_termination(void);
50 extern void ccgs_compute_snapshot(state_t *time_barrier_pointer[]);
51 extern bool ccgs_lp_can_halt(struct lp_struct *lp);
Structure for LP&#39;s state.
Definition: state.h:49
bool ccgs_lp_can_halt(struct lp_struct *lp)
Evaluate if the simulation can be halted according to some LP.
Definition: ccgs.c:153
void ccgs_compute_snapshot(state_t *time_barrier_pointer[])
Definition: ccgs.c:107
LP state management.