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
stringify a bit
[simgrid.git]
/
src
/
surf
/
cpu_ti.hpp
diff --git
a/src/surf/cpu_ti.hpp
b/src/surf/cpu_ti.hpp
index
e8fdace
..
4bdbe14
100644
(file)
--- a/
src/surf/cpu_ti.hpp
+++ b/
src/surf/cpu_ti.hpp
@@
-88,16
+88,14
@@
public:
void setState(simgrid::surf::Action::State state) override;
int unref() override;
void cancel() override;
void setState(simgrid::surf::Action::State state) override;
int unref() override;
void cancel() override;
- void updateIndexHeap(int i);
+ void updateIndexHeap(int i)
override
;
void suspend() override;
void resume() override;
void setMaxDuration(double duration) override;
void suspend() override;
void resume() override;
void setMaxDuration(double duration) override;
- void set
Priority
(double priority) override;
+ void set
SharingWeight
(double priority) override;
double getRemains() override;
CpuTi *cpu_;
double getRemains() override;
CpuTi *cpu_;
- int indexHeap_ = -1;
- int suspended_ = 0;
boost::intrusive::list_member_hook<> action_ti_hook;
};
boost::intrusive::list_member_hook<> action_ti_hook;
};
@@
-153,14
+151,6
@@
public:
ActionList *runningActionSetThatDoesNotNeedBeingChecked_;
CpuTiList *modifiedCpu_;
xbt_heap_t tiActionHeap_;
ActionList *runningActionSetThatDoesNotNeedBeingChecked_;
CpuTiList *modifiedCpu_;
xbt_heap_t tiActionHeap_;
-
-protected:
- void NotifyResourceTurnedOn(simgrid::surf::Resource*){};
- void NotifyResourceTurnedOff(simgrid::surf::Resource*){};
-
- void NotifyActionCancel(Action*){};
- void NotifyActionResume(Action*){};
- void NotifyActionSuspend(Action*){};
};
}
};
}