+static void instr_actor_on_creation(simgrid::s4u::ActorPtr actor)
+{
+ container_t root = simgrid::instr::Container::getRoot();
+ container_t container = simgrid::instr::Container::byName(actor->get_host()->get_name());
+
+ container->createChild(instr_pid(actor.get()), "ACTOR");
+ simgrid::instr::ContainerType* actor_type = container->type_->getOrCreateContainerType("ACTOR");
+ simgrid::instr::StateType* state = actor_type->getOrCreateStateType("ACTOR_STATE");
+ state->addEntityValue("suspend", "1 0 1");
+ state->addEntityValue("sleep", "1 1 0");
+ state->addEntityValue("receive", "1 0 0");
+ state->addEntityValue("send", "0 0 1");
+ state->addEntityValue("task_execute", "0 1 1");
+ root->type_->getOrCreateLinkType("ACTOR_LINK", actor_type, actor_type);
+ root->type_->getOrCreateLinkType("ACTOR_TASK_LINK", actor_type, actor_type);
+}
+
+static void instr_actor_on_suspend(simgrid::s4u::ActorPtr actor)