-/* Copyright (c) 2010-2022. The SimGrid Team.
+/* Copyright (c) 2010-2023. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
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)
{
container->get_variable(name)->instr_event(now, delta, resource, value);
}
}
-} // namespace instr
-} // namespace simgrid
+} // namespace simgrid::instr