GlobalStatistics.h File Reference

#include <map>
#include <omnetpp.h>

Go to the source code of this file.

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.

Detailed Description

Author:
Ingmar Baumgart

Definition in file GlobalStatistics.h.


Define Documentation

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

Macro used for recording statistics considering measureNetwIn parameter.

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

Definition at line 38 of file GlobalStatistics.h.

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(), Bamboo::doLocalTuning(), Pastry::doRoutingTableMaintenance(), KBRTestApp::evaluateData(), BaseOverlay::failedNodeRpc(), BasePastry::findNode(), BaseOverlay::findNodeRpc(), Gia::forwardMessage(), Gia::forwardSearchResponseMessage(), Gia::getRoute(), PubSubMMOG::handleAdoptChildCall(), PubSubMMOG::handleAdoptChildResponse(), PubSubMMOG::handleBackupCall(), PubSubMMOG::handleBackupCallTimeout(), BaseOverlay::handleBaseOverlayMessage(), Kademlia::handleBucketRefreshTimerExpired(), BaseApp::handleCommonAPIMessage(), CBRDHT::handleGetCAPIRequest(), DHT::handleGetRequest(), CBRDHT::handleGetRequest(), DHTTestApp::handleGetResponse(), DHT::handleGetResponse(), CBRDHT::handleGetResponse(), PubSubLobby::handleHelpCall(), PubSubMMOG::handleHelpResponse(), PubSubMMOG::handleIntermediateCall(), PubSubMMOG::handleIntermediateResponse(), PubSubLobby::handleJoin(), Scribe::handleJoinMessage(), PubSubMMOG::handleJoinResponse(), KBRTestApp::handleLookupResponse(), DHT::handleLookupResponse(), CBRDHT::handleLookupResponse(), GlobalNodeList::handleMessage(), GlobalDhtTestMap::handleMessage(), ConnectivityProbeQuon::handleMessage(), ConnectivityProbeApp::handleMessage(), ConnectivityProbe::handleMessage(), BaseOverlay::handleMessage(), BaseApp::handleMessage(), PubSubMMOG::handleMove(), PubSubMMOG::handleMoveListMessage(), Vast::handleNodeMove(), Quon::handleNodeMove(), SimMud::handleOtherPlayerMove(), PubSubMMOG::handlePingCall(), PubSubMMOG::handlePingCallTimeout(), DHT::handlePutRequest(), CBRDHT::handlePutRequest(), DHTTestApp::handlePutResponse(), BasePastry::handleRequestMessage(), PubSubLobby::handleRespCall(), PubSubMMOG::handleResponsibleNodeResponse(), KBRTestApp::handleRpcResponse(), KBRTestApp::handleRpcTimeout(), DHT::handleRpcTimeout(), CBRDHT::handleRpcTimeout(), PubSubMMOG::handleSubscriptionCall(), PubSubMMOG::handleSubscriptionCallTimeout(), PubSubMMOG::handleTakeOver(), Scribe::handleTimerEvent(), Pastry::handleTimerEvent(), KBRTestApp::handleTimerEvent(), DHTTestApp::handleTimerEvent(), DHTTestApp::handleTraceMessage(), Pastry::handleUDPMessage(), Gia::handleUDPMessage(), Bamboo::handleUDPMessage(), BaseOverlay::internalHandleRpcTimeout(), Pastry::iterativeJoinHook(), SendToKeyListener::lookupFinished(), BaseRpc::pingNode(), BaseRpc::pingRpcCall(), Vast::processSecTimer(), Quon::processSecTimer(), PubSubMMOG::publishEvents(), oversim::Koorde::recordOverlaySentStats(), oversim::Chord::recordOverlaySentStats(), Broose::recordOverlaySentStats(), Pastry::recursiveRoutingHook(), PubSubLobby::replaceResponsibleNode(), BaseOverlay::route(), BasePastry::sendLeafset(), DHT::sendMaintenancePutCall(), Vast::sendMessage(), Quon::sendMessage(), PubSubMMOG::sendMessageToChildren(), BaseApp::sendMessageToLowerTier(), BaseOverlay::sendMessageToUDP(), BaseApp::sendMessageToUDP(), BasePastry::sendRequest(), BaseOverlay::sendRouteMessage(), BasePastry::sendRoutingRow(), BasePastry::sendStateTables(), BaseOverlay::sendToKey(), CryptoModule::signMessage(), PubSubMMOG::takeOverSubspace(), PubSubMMOG::unsubscribeChild(), and CBRDHT::update().

Generated on Wed May 26 16:21:15 2010 for OverSim by  doxygen 1.6.3