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
s:k:profile: turn two functions into static methods
[simgrid.git]
/
src
/
kernel
/
resource
/
profile
/
trace_mgr.hpp
diff --git
a/src/kernel/resource/profile/trace_mgr.hpp
b/src/kernel/resource/profile/trace_mgr.hpp
index
e684228
..
f4c2fe6
100644
(file)
--- a/
src/kernel/resource/profile/trace_mgr.hpp
+++ b/
src/kernel/resource/profile/trace_mgr.hpp
@@
-41,10
+41,6
@@
XBT_PUBLIC void tmgr_trace_event_unref(simgrid::kernel::profile::Event** trace_e
XBT_PUBLIC void tmgr_finalize();
XBT_PUBLIC void tmgr_finalize();
-XBT_PUBLIC simgrid::kernel::profile::Profile* tmgr_trace_new_from_file(std::string filename);
-XBT_PUBLIC simgrid::kernel::profile::Profile* tmgr_trace_new_from_string(std::string id, std::string input,
- double periodicity);
-
namespace simgrid {
namespace kernel {
namespace profile {
namespace simgrid {
namespace kernel {
namespace profile {
@@
-81,6
+77,9
@@
public:
/** Creates an empty trace */
explicit Profile();
virtual ~Profile();
/** Creates an empty trace */
explicit Profile();
virtual ~Profile();
+
+ static Profile* from_file(std::string path);
+ static Profile* from_string(std::string name, std::string input, double periodicity);
// private:
std::vector<DatedValue> event_list;
};
// private:
std::vector<DatedValue> event_list;
};