#include <map>
#include <omnetpp.h>
Classes | |
class | GlobalStatistics |
Modul to record global statistics. More... | |
struct | GlobalStatistics::OutVector |
< struct for cOutVectors and cummulated values More... | |
Defines | |
#define | RECORD_STATS(x) |
Macro used for recording statistics considering measureNetwIn parameter. |
#define RECORD_STATS | ( | x | ) |
Value:
do { \ if (globalStatistics->isMeasuring()){ x; } \ } while(false)
The do-while-loop is needed for compatability in outer if-else-structures.
Referenced by BasePastry::baseChangeState(), BaseApp::callRoute(), Pastry::changeState(), Bamboo::changeState(), BaseOverlay::countFailedNodeCall(), BaseOverlay::countFindNodeCall(), ParetoChurn::createNode(), LifetimeChurn::createNode(), ParetoChurn::deleteNode(), LifetimeChurn::deleteNode(), KBRTestApp::deliver(), Scribe::deliverALMDataToGroup(), BasePastry::doRoutingTableMaintenance(), KBRTestApp::evaluateData(), BaseOverlay::failedNodeRpc(), BasePastry::findNode(), BaseOverlay::findNodeRpc(), Gia::forwardMessage(), BasePastry::forwardMessageRecursive(), Gia::forwardSearchResponseMessage(), PubSubMMOG::handleAdoptChildCall(), PubSubMMOG::handleAdoptChildResponse(), PubSubMMOG::handleBackupCall(), PubSubMMOG::handleBackupCallTimeout(), BaseOverlay::handleBaseOverlayMessage(), BaseApp::handleCommonAPIMessage(), DHT::handleGetRequest(), DHTTestApp::handleGetResponse(), DHT::handleGetResponse(), PubSubLobby::handleHelpCall(), PubSubMMOG::handleHelpResponse(), PubSubMMOG::handleIntermediateCall(), PubSubMMOG::handleIntermediateResponse(), PubSubLobby::handleJoin(), Scribe::handleJoinMessage(), PubSubMMOG::handleJoinResponse(), DHT::handleLookupResponse(), GlobalDhtTestMap::handleMessage(), BootstrapOracle::handleMessage(), BaseOverlay::handleMessage(), BaseApp::handleMessage(), PubSubMMOG::handleMove(), PubSubMMOG::handleMoveListMessage(), Vast::handleNodeMove(), SimMud::handleOtherPlayerMove(), PubSubMMOG::handlePingCall(), PubSubMMOG::handlePingCallTimeout(), DHT::handlePutRequest(), DHTTestApp::handlePutResponse(), BasePastry::handleRequestMessage(), PubSubLobby::handleRespCall(), PubSubMMOG::handleResponsibleNodeResponse(), DHT::handleRpcTimeout(), PubSubMMOG::handleSubscriptionCall(), PubSubMMOG::handleSubscriptionCallTimeout(), PubSubMMOG::handleTakeOver(), Scribe::handleTimerEvent(), Pastry::handleTimerEvent(), KBRTestApp::handleTimerEvent(), DHTTestApp::handleTimerEvent(), Bamboo::handleTimerEvent(), DHTTestApp::handleTraceMessage(), Pastry::handleUDPMessage(), Gia::handleUDPMessage(), Bamboo::handleUDPMessage(), BaseOverlay::internalHandleRpcTimeout(), SendToKeyListener::lookupFinished(), BaseRpc::pingNode(), BaseRpc::pingRpc(), PubSubMMOG::publishEvents(), Koorde::recordOverlaySentStats(), Chord::recordOverlaySentStats(), Broose::recordOverlaySentStats(), PubSubLobby::replaceResponsibleNode(), Gia::route(), BasePastry::sendLeafset(), PubSubMMOG::sendMessageToChildren(), BaseApp::sendMessageToLowerTier(), BaseOverlay::sendMessageToUDP(), BaseApp::sendMessageToUDP(), BasePastry::sendRequest(), BasePastry::sendRoutingRow(), BasePastry::sendStateTables(), BaseOverlay::sendToKey(), PubSubMMOG::takeOverSubspace(), PubSubMMOG::unsubscribeChild(), and DHT::update().