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
factoring with an ActivityImpl::clean_action() method
[simgrid.git]
/
src
/
kernel
/
activity
/
CommImpl.hpp
diff --git
a/src/kernel/activity/CommImpl.hpp
b/src/kernel/activity/CommImpl.hpp
index
ca65fd0
..
777d826
100644
(file)
--- a/
src/kernel/activity/CommImpl.hpp
+++ b/
src/kernel/activity/CommImpl.hpp
@@
-27,18
+27,19
@@
public:
CommImpl& set_type(CommImpl::Type type);
CommImpl& set_size(double size);
CommImpl& set_type(CommImpl::Type type);
CommImpl& set_size(double size);
- double get_rate() { return rate_; }
- CommImpl& set_rate(double rate);
CommImpl& set_src_buff(void* buff, size_t size);
CommImpl& set_dst_buff(void* buff, size_t* size);
CommImpl& set_src_buff(void* buff, size_t size);
CommImpl& set_dst_buff(void* buff, size_t* size);
+ CommImpl& set_rate(double rate);
+ double get_rate() { return rate_; }
- CommImpl* start();
void copy_data();
void copy_data();
+
+ CommImpl* start();
void suspend() override;
void resume() override;
void suspend() override;
void resume() override;
+ void cancel() override;
void post() override;
void finish() override;
void post() override;
void finish() override;
- void cancel() override;
CommImpl::Type type_; /* Type of the communication (SIMIX_COMM_SEND or SIMIX_COMM_RECEIVE) */
MailboxImpl* mbox = nullptr; /* Rendez-vous where the comm is queued */
CommImpl::Type type_; /* Type of the communication (SIMIX_COMM_SEND or SIMIX_COMM_RECEIVE) */
MailboxImpl* mbox = nullptr; /* Rendez-vous where the comm is queued */