-/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2010-2022. 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. */
e.load_platform(argv[1]);
- TRACE_category("migration_order");
+ simgrid::instr::declare_tracing_category("migration_order");
- sg4::Actor::create("emigrant", sg4::Host::by_name("Fafard"), emigrant);
- sg4::Actor::create("policeman", sg4::Host::by_name("Tremblay"), policeman);
+ sg4::Actor::create("emigrant", e.host_by_name("Fafard"), emigrant);
+ sg4::Actor::create("policeman", e.host_by_name("Tremblay"), policeman);
e.run();
return 0;