! ignore .*Activating SYSV context factory
! ignore .*Using raw contexts. Because the glibc is just not good enough for us.
-$ ${bindir:=.}/c-actor-stacksize --log=simix_context.thresh:verbose --log=no_loc ${platfdir}/small_platform.xml
-> [::(0) 0.000000] [simix_context/VERBOSE] Creating a context of stack 8Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 8Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 16Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 16Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 32Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 32Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 64Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 32Mb
+$ ${bindir:=.}/c-actor-stacksize --log=ker_context.thresh:verbose --log=no_loc ${platfdir}/small_platform.xml
+> [::(0) 0.000000] [ker_context/VERBOSE] Creating a context of stack 8Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 8Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 16Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 16Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 32Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 32Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 64Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 32Mb
> [Tremblay:actor:(1) 0.000000] [actor_stacksize/INFO] Hello
> [Tremblay:actor:(2) 0.000000] [actor_stacksize/INFO] Hello
> [Tremblay:actor:(3) 0.000000] [actor_stacksize/INFO] Hello
! ignore .*Activating SYSV context factory
! ignore .*Using raw contexts. Because the glibc is just not good enough for us.
-$ ${bindir:=.}/s4u-actor-stacksize --log=simix_context.thresh:verbose --log=no_loc ${platfdir}/small_platform.xml
-> [::(0) 0.000000] [simix_context/VERBOSE] Creating a context of stack 8Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 8Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 16Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 16Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 32Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 32Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 64Mb
-> [0.000000] [simix_context/VERBOSE] Creating a context of stack 32Mb
+$ ${bindir:=.}/s4u-actor-stacksize --log=ker_context.thresh:verbose --log=no_loc ${platfdir}/small_platform.xml
+> [::(0) 0.000000] [ker_context/VERBOSE] Creating a context of stack 8Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 8Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 16Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 16Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 32Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 32Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 64Mb
+> [0.000000] [ker_context/VERBOSE] Creating a context of stack 32Mb
> [Tremblay:actor:(1) 0.000000] [s4u_test/INFO] Hello
> [Tremblay:actor:(2) 0.000000] [s4u_test/INFO] Hello
> [Tremblay:actor:(3) 0.000000] [s4u_test/INFO] Hello
#include <vector>
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
+XBT_LOG_NEW_DEFAULT_SUBCATEGORY(ker_context, kernel, "Context switching mechanism");
namespace simgrid {
namespace kernel {
#include "simgrid/Exception.hpp"
#include "src/internal_config.h"
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ker_context);
namespace simgrid {
namespace kernel {
#include "mc/mc.h"
#include "simgrid/Exception.hpp"
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ker_context);
// Raw context routines
#include <sanitizer/tsan_interface.h>
#endif
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ker_context);
// The name of this function is currently hardcoded in MC (as string).
// Do not change it without fixing those references as well.
#include <typeinfo>
#include <utility>
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ker_context);
namespace simgrid {
namespace kernel {
#include "ContextUnix.hpp"
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ker_context);
/** Up to two integers may be needed to store a pointer on the system we target */
constexpr int CTX_ADDR_LEN = 2;
#include <simgrid/Exception.hpp>
-XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
+XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(ker_actor);
namespace simgrid {
#include "src/kernel/context/Context.hpp"
-XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_context, simix, "Context switching mechanism");
-
int SIMIX_context_is_parallel() // XBT_ATTRIB_DEPRECATED_v333
{
return simgrid::kernel::context::is_parallel();
int main(int argc, char* argv[])
{
xbt_log_control_set("root.fmt:[%c/%p]%e%m%n");
- xbt_log_control_set("simix_context.threshold:verbose");
+ xbt_log_control_set("ker_context.threshold:verbose");
XBT_ATTRIB_UNUSED simgrid::s4u::Engine e(&argc, argv);
return 0;
}
$ ${bindir:=.}/context-defaults
-> [simix_context/VERBOSE] Using Boost contexts. Welcome to the 21th century.
-> [simix_context/VERBOSE] Creating a context of stack 8Mb
+> [ker_context/VERBOSE] Using Boost contexts. Welcome to the 21th century.
+> [ker_context/VERBOSE] Creating a context of stack 8Mb
$ ${bindir:=.}/context-defaults
-> [simix_context/VERBOSE] Using raw contexts. Because the glibc is just not good enough for us.
-> [simix_context/VERBOSE] Creating a context of stack 8Mb
\ No newline at end of file
+> [ker_context/VERBOSE] Using raw contexts. Because the glibc is just not good enough for us.
+> [ker_context/VERBOSE] Creating a context of stack 8Mb
$ ${bindir:=.}/context-defaults
-> [simix_context/VERBOSE] Activating thread context factory
+> [ker_context/VERBOSE] Activating thread context factory
$ ${bindir:=.}/context-defaults
-> [simix_context/VERBOSE] Activating SYSV context factory
-> [simix_context/VERBOSE] Creating a context of stack 8Mb
-
+> [ker_context/VERBOSE] Activating SYSV context factory
+> [ker_context/VERBOSE] Creating a context of stack 8Mb
p Test privatization
! timeout 5
-$ ${bindir:=.}/../../../smpi_script/bin/smpirun -hostfile ../hostfile -platform ${platfdir:=.}/small_platform.xml -np 32 ${bindir:=.}/privatization -s -long --log=smpi_config.thres:warning --log=xbt_cfg.thres:warning --cfg=smpi/privatization:${privatization:=1} --log=simix_context.thres:error --log=xbt_memory_map.thres:critical
+$ ${bindir:=.}/../../../smpi_script/bin/smpirun -hostfile ../hostfile -platform ${platfdir:=.}/small_platform.xml -np 32 ${bindir:=.}/privatization -s -long --log=smpi_config.thres:warning --log=xbt_cfg.thres:warning --cfg=smpi/privatization:${privatization:=1} --log=ker_context.thres:error --log=xbt_memory_map.thres:critical
> [0.000000] [smpi/INFO] You requested to use 32 ranks, but there is only 5 processes in your hostfile...