-/* Copyright (c) 2010-2020. The SimGrid Team.
+/* Copyright (c) 2010-2022. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
double value, double now, double delta)
{
// only trace resource utilization if resource is known by tracing mechanism
- container_t container = Container::by_name_or_null(resource);
+ Container* container = Container::by_name_or_null(resource);
if (container == nullptr || value == 0.0)
return;