From: Martin Quinson Date: Wed, 10 Oct 2018 00:05:53 +0000 (+0200) Subject: docs: try to add a doxygene xample, but breathe does not handle this yet X-Git-Tag: v3_22~914 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/863a63ba7f65e2c829045081a718cbb240df7722 docs: try to add a doxygene xample, but breathe does not handle this yet --- diff --git a/docs/source/Doxyfile b/docs/source/Doxyfile index 79fd2db73b..22c250dd0c 100644 --- a/docs/source/Doxyfile +++ b/docs/source/Doxyfile @@ -5,6 +5,8 @@ INPUT += ../../include/simgrid/msg.h INPUT += ../../src/msg/ RECURSIVE = YES +EXAMPLE_PATH = ../../examples + # What to produce OUTPUT_DIRECTORY = ../build/ GENERATE_XML = YES diff --git a/include/simgrid/s4u/Actor.hpp b/include/simgrid/s4u/Actor.hpp index 54f83a7c87..24b30a6920 100644 --- a/include/simgrid/s4u/Actor.hpp +++ b/include/simgrid/s4u/Actor.hpp @@ -410,6 +410,10 @@ XBT_PUBLIC void execute(double flop); * An execution of priority 2 computes twice as fast as an execution at priority 1. */ XBT_PUBLIC void execute(double flop, double priority); +/** + * @example examples/s4u/exec-ptask/s4u-exec-ptask.cpp + */ + /** Block the actor until the built parallel execution terminates * * \rst