36 Enter_Method_Silent();
53 int targetOverlayTerminalNum = par(
"targetOverlayTerminalNum");
54 contextVector.assign(2*targetOverlayTerminalNum, (cObject*)NULL);
75 if (!msg->isSelfMessage()) {
112 scheduleAt(std::max(simTime(), simTime() + lifetime
116 "LifetimeChurn: Session Time", SIMTIME_DBL(lifetime)));
118 "LifetimeChurn: Time between creates",
132 "LifetimeChurn: Time between deletes",
139 simtime_t lifetime,
int contextPos)
145 scheduleAt(creationTime, churnMsg);
160 return truncnormal(par, par/3.0);
162 opp_error(
"LifetimeChurn::distribution function: Invalid value "
163 "for parameter lifetimeDistName!");
172 sprintf(buf,
"lifetime churn");
173 getDisplayString().setTagArg(
"t", 0, buf);
179 for (std::vector<cObject*>::iterator it =
contextVector.begin();