Motr
M0
|
#include <sim.h>
Data Fields | |
sim_time_t | sc_time |
sim_call_t * | sc_call |
void * | sc_datum |
struct m0_tlink | sc_linkage |
struct sim * | sc_sim |
uint64_t | sc_magic |
A call-out (alias timer, alias event) is a representation of an event in simulation. A call-out is allocated to simulate some event that is to happen in the simulation "future". Call-outs are inserted into a per-simulation queue sorted by the logical simulation time. In the fullness of logical time, call-out is "executed", meaning that its ->sc_call() function is called. Execution of call-out might allocate new call-outs advancing the state of simulation.
sim_call_t* sc_call |
void* sc_datum |
struct m0_tlink sc_linkage |
linkage into a logical time list sim::ss_future
struct sim* sc_sim |
sim_time_t sc_time |