void updateLatency(double value, double date=surf_get_clock());
};
+%nodefaultctor Action;
class Action {
public:
Model *getModel();
void setBound(double bound);
};
+%nodefaultctor CpuAction;
class CpuAction : public Action {
public:
%extend {
friend CpuActionPtr CpuCas01::execute(double size);
friend CpuActionPtr CpuCas01::sleep(double duration);
public:
- CpuCas01Action() {};
CpuCas01Action(ModelPtr model, double cost, bool failed, double power, lmm_constraint_t constraint);
~CpuCas01Action() {};
class CpuAction : public Action {
friend CpuPtr getActionCpu(CpuActionPtr action);
public:
- /**
- * @brief CpuAction constructor
- */
- CpuAction() {};
-
/**
* @brief CpuAction constructor
*
friend void CpuTi::updateRemainingAmount(double now);//FIXME
public:
- CpuTiAction() {};
CpuTiAction(CpuTiModelPtr model, double cost, bool failed,
CpuTiPtr cpu);
*/
class StorageAction : public Action {
public:
- /**
- * @brief StorageAction constructor
- */
- StorageAction() : m_type(READ) {};//FIXME:REMOVE
-
/**
* @brief StorageAction constructor
*
class StorageN11Action : public StorageAction {
public:
- StorageN11Action() {}; //FIXME:REMOVE
StorageN11Action(ModelPtr model, double cost, bool failed, StoragePtr storage, e_surf_action_storage_type_t type);
void suspend();
int unref();
m_hat = NOTSET;
}
-Action::Action()
-{
- initialize(NULL, 0.0, false); // FIXME: not used
-}
-
Action::Action(ModelPtr model, double cost, bool failed)
{
initialize(model, cost, failed);
lmm_variable_t var = NULL);
public:
- /**
- * @brief Action constructor
- */
- Action();
-
/**
* @brief Action constructor
*