Exemplo n.º 1
0
void Dropper::finish() {
    recordScalar("DropProbability", double(par("dropProbability")));
    recordScalar("HostFaulty", bool(par("faulty")));
    recordScalar("TotalDropped", totalDropped);
    recordScalar("TotalIn", totalIn);
}
Exemplo n.º 2
0
void Clock::finish(){
    cancelAndDelete(timer);
    recordScalar("Interval", interval);
    recordScalar("StartTime", par("waitTime").doubleValue());
    recordScalar("EndTime", simTime());
}
Exemplo n.º 3
0
void sf::finish() {
    recordScalar(eedStats.mean());
}
Exemplo n.º 4
0
void OMNeTBattery::handleDepletedEnergy() {
    EV << "[BATTERY]: " << getParentModule()->getFullName() <<" 's battery exhausted" << std::endl;
    residualCapacityInMilliWattSeconds = 0;
    deactivateAllRegisteredDevices();
    recordScalar("nodeEnergyDepletionTimestamp", simTime());
}