A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow operation to execute more than one function at start and end
[simgrid.git]
/
src
/
instr
/
instr_paje_header.cpp
diff --git
a/src/instr/instr_paje_header.cpp
b/src/instr/instr_paje_header.cpp
index 487f6057928a09542f94fea14decdc27389b8547..d69e4ddf15a390a29ea4691f659e80c39cb4cf85 100644
(file)
--- a/
src/instr/instr_paje_header.cpp
+++ b/
src/instr/instr_paje_header.cpp
@@
-1,14
+1,13
@@
-/* Copyright (c) 2010-2023. 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. */
/* 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. */
-#include "simgrid/Exception.hpp"
#include "simgrid/version.h"
#include "src/instr/instr_private.hpp"
#include "src/smpi/include/private.hpp"
#include "simgrid/version.h"
#include "src/instr/instr_private.hpp"
#include "src/smpi/include/private.hpp"
-#include "xbt/virtu.h" /* xbt::cmdline */
+#include <simgrid/Exception.hpp>
+#include <simgrid/s4u/Engine.hpp>
extern std::ofstream tracing_file;
namespace simgrid::instr::paje {
extern std::ofstream tracing_file;
namespace simgrid::instr::paje {
@@
-18,7
+17,7
@@
void dump_generator_version()
tracing_file << "#This file was generated using SimGrid-" << SIMGRID_VERSION_MAJOR << "." << SIMGRID_VERSION_MINOR
<< "." << SIMGRID_VERSION_PATCH << '\n';
tracing_file << "#[";
tracing_file << "#This file was generated using SimGrid-" << SIMGRID_VERSION_MAJOR << "." << SIMGRID_VERSION_MINOR
<< "." << SIMGRID_VERSION_PATCH << '\n';
tracing_file << "#[";
- for (auto const& str : simgrid::
xbt::cmdline
) {
+ for (auto const& str : simgrid::
s4u::Engine::get_instance()->get_cmdline()
) {
tracing_file << str << " ";
}
tracing_file << "]\n";
tracing_file << str << " ";
}
tracing_file << "]\n";