XBT_OUT();
}
-void L07Action::setMaxDuration(double duration)
-{ /* FIXME: should inherit */
- XBT_IN("(%p,%g)", this, duration);
- m_maxDuration = duration;
- XBT_OUT();
-}
-
-void L07Action::setPriority(double priority)
-{ /* FIXME: should inherit */
- XBT_IN("(%p,%g)", this, priority);
- m_priority = priority;
- XBT_OUT();
-}
-
double L07Action::getRemains()
{
XBT_IN("(%p)", this);
int unref() override;
void suspend() override;
void resume() override;
- void setMaxDuration(double duration) override;
- void setPriority(double priority) override;
double getRemains() override;
std::vector<NetCard*> * p_netcardList = new std::vector<NetCard*>();
lmm_update_variable_weight(getModel()->getMaxminSystem(), getVariable(), priority);
if (getModel()->getUpdateMechanism() == UM_LAZY)
- heapRemove(getModel()->getActionHeap());
+ heapRemove(getModel()->getActionHeap());
XBT_OUT();
}