]> AND Public Git Repository - simgrid.git/blobdiff - doc/doxygen/inside_extending.doc
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI : add leak detection.
[simgrid.git] / doc / doxygen / inside_extending.doc
index 1a7f221dbbdbbe6c67e07f873ac24ffb6a1d5305..54f7dcc7aafe62198dda3b8c3175838c7aad6641 100644 (file)
@@ -35,7 +35,7 @@ the classes of the corresponding interfaces.
 For instance, if you want to add a new cup model called `Plop`, create two files
 cpu_plop.hpp and cpu_plop_cpp which contains classes CpuPlopModel, CpuPlop and
 CpuPlopAction implementing respectively the interfaces CpuModel, Cpu and
-CpuAction. You also need to define a initializing function like this:
+CpuAction. You also need to define an initializing function like this:
 
 ~~~~
 void surf_cpu_model_init_plop()
@@ -164,11 +164,11 @@ generates the following files:
   Helper functions to get and set simcall arguments and results
 - popping_bodies.cpp:
   The BODY function of each simcall
-- popping_enum.h:
-  Definition of type `enum e_smx_simcall_t` (one value per existing simcall)
+- popping_enum.hpp:
+  Definition of type `enum class Simcall` (one value per existing simcall)
 - popping_generated.cpp:
   Definitions of `simcall_names[]` (debug name of each simcall), and
-  SIMIX_simcall_enter() that deals with the simcall from within the kernel
+  ActorImpl::simcall_handle() that deals with the simcall from within the kernel
 
 The simcall.in file list all the simcalls in sections. A line starting by "##"
 define a new section which will be replace by a "ifdef" in the generated code.