Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
useless morning cleanups
[simgrid.git] / src / instr / instr_paje_values.cpp
1 /* Copyright (c) 2012-2020. The SimGrid Team.
2  * All rights reserved.                                                     */
3
4 /* This program is free software; you can redistribute it and/or modify it
5  * under the terms of the license (GNU LGPL) which comes with this package. */
6
7 #include "src/instr/instr_private.hpp"
8
9 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_paje_values, instr, "Paje tracing event system (values)");
10
11 namespace simgrid {
12 namespace instr {
13
14 EntityValue::EntityValue(const std::string& name, const std::string& color, Type* father)
15     : name_(name), color_(color), father_(father)
16 {
17   id_ = instr_new_paje_id();
18   on_creation(*this);
19 }
20 } // namespace instr
21 } // namespace simgrid