X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f409d6f711ba652a6fd78e185791cf7870b6765d..449eca36d251f79803b58b63e2b20cb243e8a36c:/src/instr/instr_paje_types.hpp diff --git a/src/instr/instr_paje_types.hpp b/src/instr/instr_paje_types.hpp index 51f55a356f..a5e31d40c7 100644 --- a/src/instr/instr_paje_types.hpp +++ b/src/instr/instr_paje_types.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -88,7 +88,6 @@ public: : Type(event_type, name, alias, "", father){}; ValueType(PajeEventType event_type, const std::string& name, Type* father) : Type(event_type, name, name, "", father){}; - ~ValueType() override = default; void add_entity_value(const std::string& name, const std::string& color); void add_entity_value(const std::string& name); EntityValue* get_entity_value(const std::string& name); @@ -102,8 +101,8 @@ public: { on_creation(*this, *source, *dest); } - void start_event(Container* startContainer, const std::string& value, const std::string& key); - void start_event(Container* startContainer, const std::string& value, const std::string& key, int size); + void start_event(Container* startContainer, const std::string& value, const std::string& key, + size_t size = static_cast(-1)); void end_event(Container* endContainer, const std::string& value, const std::string& key); };