Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'wifi_clean' into 'master'
[simgrid.git] / src / instr / instr_resource_utilization.cpp
index 63554a2..3b8a2f9 100644 (file)
@@ -5,12 +5,12 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "src/instr/instr_private.hpp"
+#include "xbt/log.h"
 #include <string>
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY (instr_resource, instr, "tracing (un)-categorized resource utilization");
 
-namespace simgrid {
-namespace instr {
+namespace simgrid::instr {
 void resource_set_utilization(const char* type, const char* name, const char* resource, const std::string& category,
                               double value, double now, double delta)
 {
@@ -32,5 +32,4 @@ void resource_set_utilization(const char* type, const char* name, const char* re
     container->get_variable(name)->instr_event(now, delta, resource, value);
   }
 }
-} // namespace instr
-} // namespace simgrid
+} // namespace simgrid::instr