|
SimGrid
3.13
Versatile Simulation of Distributed Systems
|
#include <xbt/base.h>#include <simgrid/simix.h>#include "popping_enum.h"#include "popping_accessors.h"Classes | |
| union | u_smx_scalar |
| struct | s_smx_simcall |
| Represents a simcall to the kernel. More... | |
Macros | |
| #define | SIMCALL_SET_MC_VALUE(simcall, value) ((simcall)->mc_value = (value)) |
| #define | SIMCALL_GET_MC_VALUE(simcall) ((simcall)->mc_value) |
Typedefs | |
| typedef int(* | simix_match_func_t) (void *, void *, smx_synchro_t) |
| typedef void(* | simix_copy_data_func_t) (smx_synchro_t, void *, size_t) |
| typedef void(* | simix_clean_func_t) (void *) |
| typedef void(* | FPtr) (void) |
| typedef struct s_smx_simcall | s_smx_simcall_t |
| Represents a simcall to the kernel. More... | |
| typedef struct s_smx_simcall * | smx_simcall_t |
Functions | |
| XBT_PRIVATE void | SIMIX_simcall_answer (smx_simcall_t) |
| XBT_PRIVATE void | SIMIX_simcall_handle (smx_simcall_t, int) |
| (in kernel mode) unpack the simcall and activate the handler More... | |
| XBT_PRIVATE void | SIMIX_simcall_exit (smx_synchro_t) |
| XBT_PRIVATE const char * | SIMIX_simcall_name (e_smx_simcall_t kind) |
| returns a printable string representing a simcall More... | |
| XBT_PRIVATE void | SIMIX_run_kernel (void *code) |
Variables | |
| const char * | simcall_names [] |
| Simcalls' names (generated from src/simix/simcalls.in) More... | |
| #define SIMCALL_SET_MC_VALUE | ( | simcall, | |
| value | |||
| ) | ((simcall)->mc_value = (value)) |
| #define SIMCALL_GET_MC_VALUE | ( | simcall | ) | ((simcall)->mc_value) |
| typedef int(* simix_match_func_t) (void *, void *, smx_synchro_t) |
| typedef void(* simix_copy_data_func_t) (smx_synchro_t, void *, size_t) |
| typedef struct s_smx_simcall s_smx_simcall_t |
Represents a simcall to the kernel.
| typedef struct s_smx_simcall * smx_simcall_t |
| XBT_PRIVATE void SIMIX_simcall_answer | ( | smx_simcall_t | ) |
| XBT_PRIVATE void SIMIX_simcall_handle | ( | smx_simcall_t | simcall, |
| int | value | ||
| ) |
(in kernel mode) unpack the simcall and activate the handler
This function is generated from src/simix/simcalls.in
| XBT_PRIVATE void SIMIX_simcall_exit | ( | smx_synchro_t | ) |
| XBT_PRIVATE const char* SIMIX_simcall_name | ( | e_smx_simcall_t | kind | ) |
returns a printable string representing a simcall
| XBT_PRIVATE void SIMIX_run_kernel | ( | void * | code | ) |
| const char* simcall_names[] |
Simcalls' names (generated from src/simix/simcalls.in)