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
[SMPI] Add function declarations to replay.hpp
[simgrid.git]
/
include
/
simgrid
/
smpi
/
replay.hpp
diff --git
a/include/simgrid/smpi/replay.hpp
b/include/simgrid/smpi/replay.hpp
index
0a4f4a6
..
2b091a7
100644
(file)
--- a/
include/simgrid/smpi/replay.hpp
+++ b/
include/simgrid/smpi/replay.hpp
@@
-2,8
+2,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 "private.hpp"
+#ifndef SMPI_REPLAY_HPP
+#define SMPI_REPLAY_HPP
+
+#include "smpi/smpi.h"
+#include <simgrid/s4u/Actor.hpp>
+#include <memory>
#include <xbt/replay.hpp>
#include <xbt/replay.hpp>
+#include <xbt/ex.h>
#include <sstream>
#include <sstream>
@@
-24,6
+30,11
@@
} \
}
} \
}
+extern XBT_PRIVATE void* smpi_get_tmp_sendbuffer(int size);
+extern XBT_PRIVATE void* smpi_get_tmp_recvbuffer(int size);
+extern XBT_PRIVATE void smpi_free_tmp_buffer(void* buf);
+extern XBT_PRIVATE void smpi_free_replay_tmp_buffers();
+
namespace simgrid {
namespace smpi {
namespace replay {
namespace simgrid {
namespace smpi {
namespace replay {
@@
-151,7
+162,7
@@
public:
/**
* Base class for all ReplayActions.
* Note that this class actually implements the behavior of each action
/**
* Base class for all ReplayActions.
* Note that this class actually implements the behavior of each action
- * while the parsing of the replay arguments is done in the
@
ActionArgParser class.
+ * while the parsing of the replay arguments is done in the ActionArgParser class.
* In other words: The logic goes here, the setup is done by the ActionArgParser.
*/
template <class T> class ReplayAction {
* In other words: The logic goes here, the setup is done by the ActionArgParser.
*/
template <class T> class ReplayAction {
@@
-301,3
+312,5
@@
public:
}
}
}
}
}
}
+
+#endif