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
Missing XBT_PUBLIC.
[simgrid.git]
/
include
/
simgrid
/
s4u
/
Exec.hpp
diff --git
a/include/simgrid/s4u/Exec.hpp
b/include/simgrid/s4u/Exec.hpp
index
821a89b
..
4c7b4b3
100644
(file)
--- a/
include/simgrid/s4u/Exec.hpp
+++ b/
include/simgrid/s4u/Exec.hpp
@@
-19,9
+19,9
@@
XBT_PUBLIC_CLASS Exec : public Activity
{
Exec() : Activity() {}
public:
- friend
void intrusive_ptr_release(simgrid::s4u::Exec
* e);
- friend
void intrusive_ptr_add_ref(simgrid::s4u::Exec
* e);
- friend
Actor; // Factory of Exec
+ friend
XBT_PUBLIC(void) intrusive_ptr_release(simgrid::s4u::Exec
* e);
+ friend
XBT_PUBLIC(void) intrusive_ptr_add_ref(simgrid::s4u::Exec
* e);
+ friend
XBT_PUBLIC(ExecPtr) this_actor::exec_init(double flops_amount);
~Exec() = default;
@@
-31,11
+31,13
@@
public:
bool test();
ExecPtr setPriority(double priority);
+ ExecPtr setHost(Host * host);
double getRemains() override;
+ double getRemainingRatio();
private:
-
smx_actor_t runner_
= nullptr;
+
Host* host_
= nullptr;
double flops_amount_ = 0.0;
double priority_ = 1.0;