OverSim
GlobalStatistics.h File Reference
#include <map>
#include <omnetpp.h>

Go to the source code of this file.

Classes

class  GlobalStatistics
 Module to record global statistics. More...
struct  GlobalStatistics::OutVector
 < struct for cOutVectors and cummulated values More...

Macros

#define RECORD_STATS(x)
 Macro used for recording statistics considering measureNetwIn parameter.

Detailed Description

Author
Ingmar Baumgart

Definition in file GlobalStatistics.h.

Macro Definition Documentation

#define RECORD_STATS (   x)
Value:
do { \
if (globalStatistics->isMeasuring()){ x; } \
} while(false)

Macro used for recording statistics considering measureNetwIn parameter.

The do-while-loop is needed for comparability in outer if-else-structures.

Definition at line 38 of file GlobalStatistics.h.

Referenced by BasePastry::baseChangeState(), BaseApp::callRoute(), Bamboo::changeState(), Quon::changeState(), Pastry::changeState(), NTree::checkParentTimeout(), Pastry::checkProxCache(), oversim::Nice::cleanPeers(), NTree::collapseTree(), BaseOverlay::countFailedNodeCall(), BaseOverlay::countFindNodeCall(), LifetimeChurn::createNode(), ParetoChurn::createNode(), LifetimeChurn::deleteNode(), ParetoChurn::deleteNode(), KBRTestApp::deliver(), Scribe::deliverALMDataToGroup(), NTree::divideNode(), Pastry::doJoinUpdate(), Bamboo::doLeafsetMaintenance(), Bamboo::doLocalTuning(), Pastry::doRoutingTableMaintenance(), Pastry::doSecondStage(), Pastry::endProcessingState(), KBRTestApp::evaluateData(), BaseOverlay::failedNodeRpc(), BasePastry::findNode(), BaseOverlay::findNodeRpc(), Gia::forwardMessage(), Gia::forwardSearchResponseMessage(), LoginCache::getLoginNode(), Gia::getRoute(), PubSubMMOG::handleAdoptChildCall(), PubSubMMOG::handleAdoptChildResponse(), PubSubMMOG::handleBackupCall(), PubSubMMOG::handleBackupCallTimeout(), BaseOverlay::handleBaseOverlayMessage(), Kademlia::handleBucketRefreshTimerExpired(), NTree::handleCollapseMessage(), BaseApp::handleCommonAPIMessage(), TCPExampleApp::handleDataReceived(), NTree::handleDeleteMessage(), NTree::handleDivideCall(), NTree::handleDivideCallTimeout(), Pastry::handleFailedNode(), CBRDHT::handleGetCAPIRequest(), CBRDHT::handleGetRequest(), DHT::handleGetRequest(), CBRDHT::handleGetResponse(), DHTTestApp::handleGetResponse(), DHT::handleGetResponse(), PubSubLobby::handleHelpCall(), PubSubMMOG::handleHelpResponse(), PubSubMMOG::handleIntermediateCall(), PubSubMMOG::handleIntermediateResponse(), PubSubLobby::handleJoin(), NTree::handleJoinCall(), Scribe::handleJoinMessage(), PubSubMMOG::handleJoinResponse(), CBRDHT::handleLookupResponse(), DHT::handleLookupResponse(), KBRTestApp::handleLookupResponse(), SimpleGameClient::handleLowerMessage(), ConnectivityProbeApp::handleMessage(), ConnectivityProbeQuon::handleMessage(), ConnectivityProbe::handleMessage(), GlobalDhtTestMap::handleMessage(), BaseApp::handleMessage(), GlobalNodeList::handleMessage(), BaseOverlay::handleMessage(), PubSubMMOG::handleMove(), NTree::handleMove(), PubSubMMOG::handleMoveListMessage(), NTree::handleMoveMessage(), oversim::Nice::handleNiceJoinCluster(), oversim::Nice::handleNiceMulticast(), NTree::handleNodeGracefulLeaveNotification(), Quon::handleNodeMove(), Vast::handleNodeMove(), SimMud::handleOtherPlayerMove(), Pastry::handlePastryJoinCall(), Pastry::handlePastryJoinResponse(), PubSubMMOG::handlePingCall(), PubSubMMOG::handlePingCallTimeout(), NTree::handlePingCallTimeout(), CBRDHT::handlePutRequest(), DHT::handlePutRequest(), DHTTestApp::handlePutResponse(), NTree::handleReplaceMessage(), BasePastry::handleRequestLeafSetCall(), BasePastry::handleRequestLeafSetResponse(), Pastry::handleRequestRepairCall(), Pastry::handleRequestRepairResponse(), BasePastry::handleRequestRoutingRowCall(), BasePastry::handleRequestRoutingRowResponse(), Pastry::handleRequestStateCall(), Pastry::handleRequestStateResponse(), PubSubLobby::handleRespCall(), PubSubMMOG::handleResponsibleNodeResponse(), KBRTestApp::handleRpcResponse(), CBRDHT::handleRpcTimeout(), DHT::handleRpcTimeout(), KBRTestApp::handleRpcTimeout(), Pastry::handleStateMessage(), PubSubMMOG::handleSubscriptionCall(), PubSubMMOG::handleSubscriptionCallTimeout(), PubSubMMOG::handleTakeOver(), TCPExampleApp::handleTimerEvent(), Pastry::handleTimerEvent(), KBRTestApp::handleTimerEvent(), oversim::Nice::handleTimerEvent(), Scribe::handleTimerEvent(), DHTTestApp::handleTimerEvent(), DHTTestApp::handleTraceMessage(), Pastry::handleUDPMessage(), Gia::handleUDPMessage(), BaseOverlay::internalHandleRpcTimeout(), Pastry::iterativeJoinHook(), NTree::joinGroup(), SendToKeyListener::lookupFinished(), oversim::Nice::maintenance(), BaseRpc::pingNode(), BaseRpc::pingRpcCall(), Vast::processCheckCriticalTimer(), Vast::processDiscoveryTimer(), Quon::processSecTimer(), Vast::processSecTimer(), PubSubMMOG::publishEvents(), MessageObserver::receivedMessage(), oversim::Chord::recordOverlaySentStats(), oversim::Koorde::recordOverlaySentStats(), Broose::recordOverlaySentStats(), Pastry::recursiveRoutingHook(), LoginCache::registerPos(), PubSubLobby::replaceResponsibleNode(), BaseOverlay::route(), oversim::Nice::sendHeartbeats(), oversim::Nice::sendHeartbeatTo(), DHT::sendMaintenancePutCall(), Quon::sendMessage(), Vast::sendMessage(), PubSubMMOG::sendMessageToChildren(), BaseApp::sendMessageToLowerTier(), BaseApp::sendMessageToUDP(), BaseOverlay::sendMessageToUDP(), BaseOverlay::sendRouteMessage(), BaseOverlay::sendToKey(), CryptoModule::signMessage(), PubSubMMOG::takeOverSubspace(), PubSubMMOG::unsubscribeChild(), and CBRDHT::update().