- char *src_name = src->p_name;
- char *dst_name = dst->p_name;
-
- XBT_IN("(%s,%s,%g,%g)", src_name, dst_name, size, rate);
- NetworkConstantActionLmmPtr action = new NetworkConstantActionLmm(this, size, sg_latency_factor);
- XBT_OUT();
-
- return action;
-}
-
-/************
- * Resource *
- ************/
-bool NetworkConstantLinkLmm::isUsed()
-{
- return 0;
-}
-
-void NetworkConstantLinkLmm::updateState(tmgr_trace_event_t /*event_type*/,
- double /*value*/, double /*time*/)
-{
- DIE_IMPOSSIBLE;
-}
-
-double NetworkConstantLinkLmm::getBandwidth()
-{
- DIE_IMPOSSIBLE;
- return -1.0; /* useless since DIE actually abort(), but eclipse prefer to have a useless and harmless return */
-}
-
-double NetworkConstantLinkLmm::getLatency()
-{
- DIE_IMPOSSIBLE;
- return -1.0; /* useless since DIE actually abort(), but eclipse prefer to have a useless and harmless return */
-}
-
-bool NetworkConstantLinkLmm::isShared()
-{
- DIE_IMPOSSIBLE;
- return -1; /* useless since DIE actually abort(), but eclipse prefer to have a useless and harmless return */