Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Default is not to use sleep-set to agree with existing tests
[simgrid.git] / examples / cpp / trace-process-migration / s4u-trace-process-migration.cpp
index fd3f8d85803db7fbbf36658bc19f567e15e36d0c..cecea13f2675c0c0b6277d8a26764978ffc3c6de 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2023. 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. */
@@ -49,7 +49,7 @@ int main(int argc, char* argv[])
 
   e.load_platform(argv[1]);
 
-  TRACE_category("migration_order");
+  simgrid::instr::declare_tracing_category("migration_order");
 
   sg4::Actor::create("emigrant", e.host_by_name("Fafard"), emigrant);
   sg4::Actor::create("policeman", e.host_by_name("Tremblay"), policeman);