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
Comply with clang-format rules
[simgrid.git]
/
src
/
kernel
/
resource
/
profile
/
Profile.cpp
diff --git
a/src/kernel/resource/profile/Profile.cpp
b/src/kernel/resource/profile/Profile.cpp
index
73f2962
..
a73c4c0
100644
(file)
--- a/
src/kernel/resource/profile/Profile.cpp
+++ b/
src/kernel/resource/profile/Profile.cpp
@@
-3,14
+3,14
@@
/* 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 "src/kernel/resource/profile/Profile.hpp"
+#include "simgrid/forward.h"
+#include "src/kernel/resource/profile/DatedValue.cpp"
+#include "src/kernel/resource/profile/FutureEvtSet.cpp"
#include "xbt/log.h"
#include "xbt/sysdep.h"
#include "xbt/log.h"
#include "xbt/sysdep.h"
-#include <ostream>
-#include "src/kernel/resource/profile/Profile.hpp"
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string.hpp>
-#include "src/kernel/resource/profile/FutureEvtSet.cpp"
-#include "src/kernel/resource/profile/DatedValue.cpp"
-#include "simgrid/forward.h"
+#include <ostream>
#include <vector>
static std::unordered_map<std::string, simgrid::kernel::profile::Profile*> trace_list;
#include <vector>
static std::unordered_map<std::string, simgrid::kernel::profile::Profile*> trace_list;
@@
-25,7
+25,7
@@
Profile::Profile()
DatedValue val(0, -1);
event_list.push_back(val);
}
DatedValue val(0, -1);
event_list.push_back(val);
}
-Profile::~Profile()
= default;
+Profile::~Profile() = default;
/** @brief Register this profile for that resource onto that FES,
* and get an iterator over the integrated trace */
/** @brief Register this profile for that resource onto that FES,
* and get an iterator over the integrated trace */
@@
-122,7
+122,7
@@
Profile* Profile::from_file(const std::string& path)
return Profile::from_string(path, buffer.str(), -1);
}
return Profile::from_string(path, buffer.str(), -1);
}
-
+
} // namespace profile
} // namespace kernel
} // namespace simgrid
} // namespace profile
} // namespace kernel
} // namespace simgrid