OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Classes | Public Member Functions | Private Attributes | List of all members
IpplStats Class Reference

#include <IpplStats.h>

Collaboration diagram for IpplStats:
Collaboration graph
[legend]

Classes

struct  StatData
 

Public Member Functions

 IpplStats ()
 
 ~IpplStats ()
 
void print (Inform &)
 
int addStat (const char *description, long initval=0)
 
long incStat (int statindx, long val=1)
 
long decStat (int statindx, long val=1)
 
TimergetTime ()
 
void incMessageSent ()
 
void incMessageSentToOthers ()
 
void incMessageSentToSelf ()
 
void incMessageReceived ()
 
void incMessageReceivedFromNetwork ()
 
void incMessageReceivedFromQueue ()
 
void incMessageReceiveChecks ()
 
void incMessageReceiveChecksFailed ()
 
void incMessageBytesSent (long bytes)
 
void incMessageBytesReceived (long bytes)
 
void incBarriers ()
 
void incReductions ()
 
void incScatters ()
 
void incBareFields ()
 
void incLFields ()
 
void incLFieldBytes (long bytes)
 
void incFieldLayouts ()
 
void incRepartitions ()
 
void incExpressions ()
 
void incBFEqualsExpression ()
 
void incIBFEqualsExpression ()
 
void incParensEqualsExpression ()
 
void incBFEqualsBF ()
 
void incIBFEqualsIBF ()
 
void incSubEqualsExpression ()
 
void incFFTs ()
 
void incGuardCellFills ()
 
void incBoundaryConditions ()
 
void incCompresses ()
 
void incDecompresses ()
 
void incCompressionCompares (long c)
 
void incCompressionCompareMax (long c)
 
void incBareFieldIterators ()
 
void incDefaultBareFieldIterators ()
 
void incBeginScalarCodes ()
 
void incEndScalarCodes ()
 
void incParticleAttribs ()
 
void incIpplParticleBases ()
 
void incParticleUpdates ()
 
void incParticleExpressions ()
 
void incParticleGathers ()
 
void incParticleScatters ()
 
void incParticlesCreated (long num)
 
void incParticlesDestroyed (long num)
 
void incParticlesSwapped (long num)
 

Private Attributes

std::vector< StatData * > StatList
 
Timer Time
 
StatData MessagesSent
 
StatData MessagesSentToOthers
 
StatData MessagesSentToSelf
 
StatData MessagesReceived
 
StatData MessagesReceivedFromNetwork
 
StatData MessagesReceivedFromQueue
 
StatData MessageReceiveChecks
 
StatData MessageReceiveChecksFailed
 
StatData BytesSent
 
StatData BytesReceived
 
StatData Barriers
 
StatData Reductions
 
StatData Scatters
 
StatData BareFields
 
StatData LFields
 
StatData LFieldBytes
 
StatData FieldLayouts
 
StatData Repartitions
 
StatData Expressions
 
StatData BFEqualsExpression
 
StatData IBFEqualsExpression
 
StatData ParensEqualsExpression
 
StatData BFEqualsBF
 
StatData IBFEqualsIBF
 
StatData SubEqualsExpression
 
StatData FFTs
 
StatData GuardCellFills
 
StatData BoundaryConditions
 
StatData Compresses
 
StatData Decompresses
 
StatData CompressionCompares
 
StatData CompressionCompareMax
 
StatData BareFieldIterators
 
StatData DefaultBareFieldIterators
 
StatData BeginScalarCodes
 
StatData EndScalarCodes
 
StatData ParticleAttribs
 
StatData IpplParticleBases
 
StatData ParticleUpdates
 
StatData ParticleExpressions
 
StatData ParticleGathers
 
StatData ParticleScatters
 
StatData ParticlesCreated
 
StatData ParticlesDestroyed
 
StatData ParticlesSwapped
 

Detailed Description

Definition at line 46 of file IpplStats.h.

Constructor & Destructor Documentation

◆ IpplStats()

IpplStats::IpplStats ( )

Definition at line 36 of file IpplStats.cpp.

References Timer::clear(), Timer::start(), Timer::stop(), and Time.

Here is the call graph for this function:

◆ ~IpplStats()

IpplStats::~IpplStats ( )

Definition at line 95 of file IpplStats.cpp.

References StatList.

Member Function Documentation

◆ addStat()

int IpplStats::addStat ( const char *  description,
long  initval = 0 
)
inline

Definition at line 61 of file IpplStats.h.

References StatList.

◆ decStat()

long IpplStats::decStat ( int  statindx,
long  val = 1 
)
inline

Definition at line 72 of file IpplStats.h.

References StatList.

◆ getTime()

Timer& IpplStats::getTime ( )
inline

Definition at line 82 of file IpplStats.h.

References Time.

Referenced by IpplInfo::IpplInfo(), and operator<<().

◆ incBareFieldIterators()

void IpplStats::incBareFieldIterators ( )
inline

Definition at line 125 of file IpplStats.h.

References BareFieldIterators, and IpplStats::StatData::Value.

◆ incBareFields()

void IpplStats::incBareFields ( )
inline

Definition at line 106 of file IpplStats.h.

References BareFields, and IpplStats::StatData::Value.

◆ incBarriers()

void IpplStats::incBarriers ( )
inline

Definition at line 98 of file IpplStats.h.

References Barriers, and IpplStats::StatData::Value.

◆ incBeginScalarCodes()

void IpplStats::incBeginScalarCodes ( )
inline

Definition at line 127 of file IpplStats.h.

References BeginScalarCodes, and IpplStats::StatData::Value.

◆ incBFEqualsBF()

void IpplStats::incBFEqualsBF ( )
inline

Definition at line 115 of file IpplStats.h.

References BFEqualsBF, and IpplStats::StatData::Value.

◆ incBFEqualsExpression()

void IpplStats::incBFEqualsExpression ( )
inline

Definition at line 112 of file IpplStats.h.

References BFEqualsExpression, and IpplStats::StatData::Value.

◆ incBoundaryConditions()

void IpplStats::incBoundaryConditions ( )
inline

Definition at line 120 of file IpplStats.h.

References BoundaryConditions, and IpplStats::StatData::Value.

◆ incCompresses()

void IpplStats::incCompresses ( )
inline

Definition at line 121 of file IpplStats.h.

References Compresses, and IpplStats::StatData::Value.

◆ incCompressionCompareMax()

void IpplStats::incCompressionCompareMax ( long  c)
inline

Definition at line 124 of file IpplStats.h.

References Physics::c, CompressionCompareMax, and IpplStats::StatData::Value.

◆ incCompressionCompares()

void IpplStats::incCompressionCompares ( long  c)
inline

Definition at line 123 of file IpplStats.h.

References Physics::c, CompressionCompares, and IpplStats::StatData::Value.

◆ incDecompresses()

void IpplStats::incDecompresses ( )
inline

Definition at line 122 of file IpplStats.h.

References Decompresses, and IpplStats::StatData::Value.

◆ incDefaultBareFieldIterators()

void IpplStats::incDefaultBareFieldIterators ( )
inline

Definition at line 126 of file IpplStats.h.

References DefaultBareFieldIterators, and IpplStats::StatData::Value.

◆ incEndScalarCodes()

void IpplStats::incEndScalarCodes ( )
inline

Definition at line 128 of file IpplStats.h.

References EndScalarCodes, and IpplStats::StatData::Value.

◆ incExpressions()

void IpplStats::incExpressions ( )
inline

Definition at line 111 of file IpplStats.h.

◆ incFFTs()

void IpplStats::incFFTs ( )
inline

Definition at line 118 of file IpplStats.h.

References FFTs, and IpplStats::StatData::Value.

◆ incFieldLayouts()

void IpplStats::incFieldLayouts ( )
inline

Definition at line 109 of file IpplStats.h.

References FieldLayouts, and IpplStats::StatData::Value.

◆ incGuardCellFills()

void IpplStats::incGuardCellFills ( )
inline

Definition at line 119 of file IpplStats.h.

References GuardCellFills, and IpplStats::StatData::Value.

◆ incIBFEqualsExpression()

void IpplStats::incIBFEqualsExpression ( )
inline

Definition at line 113 of file IpplStats.h.

References IBFEqualsExpression, and IpplStats::StatData::Value.

◆ incIBFEqualsIBF()

void IpplStats::incIBFEqualsIBF ( )
inline

Definition at line 116 of file IpplStats.h.

References IBFEqualsIBF, and IpplStats::StatData::Value.

◆ incIpplParticleBases()

void IpplStats::incIpplParticleBases ( )
inline

Definition at line 134 of file IpplStats.h.

References IpplParticleBases, and IpplStats::StatData::Value.

◆ incLFieldBytes()

void IpplStats::incLFieldBytes ( long  bytes)
inline

Definition at line 108 of file IpplStats.h.

References LFieldBytes, and IpplStats::StatData::Value.

◆ incLFields()

void IpplStats::incLFields ( )
inline

Definition at line 107 of file IpplStats.h.

References LFields, and IpplStats::StatData::Value.

◆ incMessageBytesReceived()

void IpplStats::incMessageBytesReceived ( long  bytes)
inline

Definition at line 97 of file IpplStats.h.

References BytesReceived, and IpplStats::StatData::Value.

◆ incMessageBytesSent()

void IpplStats::incMessageBytesSent ( long  bytes)
inline

Definition at line 96 of file IpplStats.h.

References BytesSent, and IpplStats::StatData::Value.

◆ incMessageReceiveChecks()

void IpplStats::incMessageReceiveChecks ( )
inline

Definition at line 94 of file IpplStats.h.

References MessageReceiveChecks, and IpplStats::StatData::Value.

◆ incMessageReceiveChecksFailed()

void IpplStats::incMessageReceiveChecksFailed ( )
inline

Definition at line 95 of file IpplStats.h.

References MessageReceiveChecksFailed, and IpplStats::StatData::Value.

◆ incMessageReceived()

void IpplStats::incMessageReceived ( )
inline

Definition at line 91 of file IpplStats.h.

References MessagesReceived, and IpplStats::StatData::Value.

◆ incMessageReceivedFromNetwork()

void IpplStats::incMessageReceivedFromNetwork ( )
inline

Definition at line 92 of file IpplStats.h.

References MessagesReceivedFromNetwork, and IpplStats::StatData::Value.

◆ incMessageReceivedFromQueue()

void IpplStats::incMessageReceivedFromQueue ( )
inline

Definition at line 93 of file IpplStats.h.

References MessagesReceivedFromQueue, and IpplStats::StatData::Value.

◆ incMessageSent()

void IpplStats::incMessageSent ( )
inline

Definition at line 88 of file IpplStats.h.

References MessagesSent, and IpplStats::StatData::Value.

◆ incMessageSentToOthers()

void IpplStats::incMessageSentToOthers ( )
inline

Definition at line 89 of file IpplStats.h.

References MessagesSentToOthers, and IpplStats::StatData::Value.

◆ incMessageSentToSelf()

void IpplStats::incMessageSentToSelf ( )
inline

Definition at line 90 of file IpplStats.h.

References MessagesSentToSelf, and IpplStats::StatData::Value.

◆ incParensEqualsExpression()

void IpplStats::incParensEqualsExpression ( )
inline

Definition at line 114 of file IpplStats.h.

References ParensEqualsExpression, and IpplStats::StatData::Value.

◆ incParticleAttribs()

void IpplStats::incParticleAttribs ( )
inline

Definition at line 133 of file IpplStats.h.

References ParticleAttribs, and IpplStats::StatData::Value.

◆ incParticleExpressions()

void IpplStats::incParticleExpressions ( )
inline

Definition at line 136 of file IpplStats.h.

References ParticleExpressions, and IpplStats::StatData::Value.

◆ incParticleGathers()

void IpplStats::incParticleGathers ( )
inline

Definition at line 137 of file IpplStats.h.

References ParticleGathers, and IpplStats::StatData::Value.

◆ incParticleScatters()

void IpplStats::incParticleScatters ( )
inline

Definition at line 138 of file IpplStats.h.

References ParticleScatters, and IpplStats::StatData::Value.

◆ incParticlesCreated()

void IpplStats::incParticlesCreated ( long  num)
inline

Definition at line 139 of file IpplStats.h.

References ParticlesCreated, and IpplStats::StatData::Value.

◆ incParticlesDestroyed()

void IpplStats::incParticlesDestroyed ( long  num)
inline

Definition at line 140 of file IpplStats.h.

References ParticlesDestroyed, and IpplStats::StatData::Value.

◆ incParticlesSwapped()

void IpplStats::incParticlesSwapped ( long  num)
inline

Definition at line 141 of file IpplStats.h.

References ParticlesSwapped, and IpplStats::StatData::Value.

◆ incParticleUpdates()

void IpplStats::incParticleUpdates ( )
inline

Definition at line 135 of file IpplStats.h.

References ParticleUpdates, and IpplStats::StatData::Value.

◆ incReductions()

void IpplStats::incReductions ( )
inline

Definition at line 99 of file IpplStats.h.

References Reductions, and IpplStats::StatData::Value.

◆ incRepartitions()

void IpplStats::incRepartitions ( )
inline

Definition at line 110 of file IpplStats.h.

References Repartitions, and IpplStats::StatData::Value.

◆ incScatters()

void IpplStats::incScatters ( )
inline

Definition at line 100 of file IpplStats.h.

References Scatters, and IpplStats::StatData::Value.

◆ incStat()

long IpplStats::incStat ( int  statindx,
long  val = 1 
)
inline

Definition at line 68 of file IpplStats.h.

References StatList.

◆ incSubEqualsExpression()

void IpplStats::incSubEqualsExpression ( )
inline

Definition at line 117 of file IpplStats.h.

References SubEqualsExpression, and IpplStats::StatData::Value.

◆ print()

void IpplStats::print ( Inform o)

Definition at line 105 of file IpplStats.cpp.

References endl(), and StatList.

Referenced by IpplInfo::printStatistics().

Here is the call graph for this function:

Member Data Documentation

◆ BareFieldIterators

StatData IpplStats::BareFieldIterators
private

Definition at line 216 of file IpplStats.h.

Referenced by incBareFieldIterators().

◆ BareFields

StatData IpplStats::BareFields
private

Definition at line 197 of file IpplStats.h.

Referenced by incBareFields().

◆ Barriers

StatData IpplStats::Barriers
private

Definition at line 193 of file IpplStats.h.

Referenced by incBarriers().

◆ BeginScalarCodes

StatData IpplStats::BeginScalarCodes
private

Definition at line 218 of file IpplStats.h.

Referenced by incBeginScalarCodes().

◆ BFEqualsBF

StatData IpplStats::BFEqualsBF
private

Definition at line 206 of file IpplStats.h.

Referenced by incBFEqualsBF().

◆ BFEqualsExpression

StatData IpplStats::BFEqualsExpression
private

Definition at line 203 of file IpplStats.h.

Referenced by incBFEqualsExpression().

◆ BoundaryConditions

StatData IpplStats::BoundaryConditions
private

Definition at line 211 of file IpplStats.h.

Referenced by incBoundaryConditions().

◆ BytesReceived

StatData IpplStats::BytesReceived
private

Definition at line 192 of file IpplStats.h.

Referenced by incMessageBytesReceived().

◆ BytesSent

StatData IpplStats::BytesSent
private

Definition at line 191 of file IpplStats.h.

Referenced by incMessageBytesSent().

◆ Compresses

StatData IpplStats::Compresses
private

Definition at line 212 of file IpplStats.h.

Referenced by incCompresses().

◆ CompressionCompareMax

StatData IpplStats::CompressionCompareMax
private

Definition at line 215 of file IpplStats.h.

Referenced by incCompressionCompareMax().

◆ CompressionCompares

StatData IpplStats::CompressionCompares
private

Definition at line 214 of file IpplStats.h.

Referenced by incCompressionCompares().

◆ Decompresses

StatData IpplStats::Decompresses
private

Definition at line 213 of file IpplStats.h.

Referenced by incDecompresses().

◆ DefaultBareFieldIterators

StatData IpplStats::DefaultBareFieldIterators
private

Definition at line 217 of file IpplStats.h.

Referenced by incDefaultBareFieldIterators().

◆ EndScalarCodes

StatData IpplStats::EndScalarCodes
private

Definition at line 219 of file IpplStats.h.

Referenced by incEndScalarCodes().

◆ Expressions

StatData IpplStats::Expressions
private

Definition at line 202 of file IpplStats.h.

◆ FFTs

StatData IpplStats::FFTs
private

Definition at line 209 of file IpplStats.h.

Referenced by incFFTs().

◆ FieldLayouts

StatData IpplStats::FieldLayouts
private

Definition at line 200 of file IpplStats.h.

Referenced by incFieldLayouts().

◆ GuardCellFills

StatData IpplStats::GuardCellFills
private

Definition at line 210 of file IpplStats.h.

Referenced by incGuardCellFills().

◆ IBFEqualsExpression

StatData IpplStats::IBFEqualsExpression
private

Definition at line 204 of file IpplStats.h.

Referenced by incIBFEqualsExpression().

◆ IBFEqualsIBF

StatData IpplStats::IBFEqualsIBF
private

Definition at line 207 of file IpplStats.h.

Referenced by incIBFEqualsIBF().

◆ IpplParticleBases

StatData IpplStats::IpplParticleBases
private

Definition at line 222 of file IpplStats.h.

Referenced by incIpplParticleBases().

◆ LFieldBytes

StatData IpplStats::LFieldBytes
private

Definition at line 199 of file IpplStats.h.

Referenced by incLFieldBytes().

◆ LFields

StatData IpplStats::LFields
private

Definition at line 198 of file IpplStats.h.

Referenced by incLFields().

◆ MessageReceiveChecks

StatData IpplStats::MessageReceiveChecks
private

Definition at line 189 of file IpplStats.h.

Referenced by incMessageReceiveChecks().

◆ MessageReceiveChecksFailed

StatData IpplStats::MessageReceiveChecksFailed
private

Definition at line 190 of file IpplStats.h.

Referenced by incMessageReceiveChecksFailed().

◆ MessagesReceived

StatData IpplStats::MessagesReceived
private

Definition at line 186 of file IpplStats.h.

Referenced by incMessageReceived().

◆ MessagesReceivedFromNetwork

StatData IpplStats::MessagesReceivedFromNetwork
private

Definition at line 187 of file IpplStats.h.

Referenced by incMessageReceivedFromNetwork().

◆ MessagesReceivedFromQueue

StatData IpplStats::MessagesReceivedFromQueue
private

Definition at line 188 of file IpplStats.h.

Referenced by incMessageReceivedFromQueue().

◆ MessagesSent

StatData IpplStats::MessagesSent
private

Definition at line 183 of file IpplStats.h.

Referenced by incMessageSent().

◆ MessagesSentToOthers

StatData IpplStats::MessagesSentToOthers
private

Definition at line 184 of file IpplStats.h.

Referenced by incMessageSentToOthers().

◆ MessagesSentToSelf

StatData IpplStats::MessagesSentToSelf
private

Definition at line 185 of file IpplStats.h.

Referenced by incMessageSentToSelf().

◆ ParensEqualsExpression

StatData IpplStats::ParensEqualsExpression
private

Definition at line 205 of file IpplStats.h.

Referenced by incParensEqualsExpression().

◆ ParticleAttribs

StatData IpplStats::ParticleAttribs
private

Definition at line 221 of file IpplStats.h.

Referenced by incParticleAttribs().

◆ ParticleExpressions

StatData IpplStats::ParticleExpressions
private

Definition at line 224 of file IpplStats.h.

Referenced by incParticleExpressions().

◆ ParticleGathers

StatData IpplStats::ParticleGathers
private

Definition at line 225 of file IpplStats.h.

Referenced by incParticleGathers().

◆ ParticleScatters

StatData IpplStats::ParticleScatters
private

Definition at line 226 of file IpplStats.h.

Referenced by incParticleScatters().

◆ ParticlesCreated

StatData IpplStats::ParticlesCreated
private

Definition at line 227 of file IpplStats.h.

Referenced by incParticlesCreated().

◆ ParticlesDestroyed

StatData IpplStats::ParticlesDestroyed
private

Definition at line 228 of file IpplStats.h.

Referenced by incParticlesDestroyed().

◆ ParticlesSwapped

StatData IpplStats::ParticlesSwapped
private

Definition at line 229 of file IpplStats.h.

Referenced by incParticlesSwapped().

◆ ParticleUpdates

StatData IpplStats::ParticleUpdates
private

Definition at line 223 of file IpplStats.h.

Referenced by incParticleUpdates().

◆ Reductions

StatData IpplStats::Reductions
private

Definition at line 194 of file IpplStats.h.

Referenced by incReductions().

◆ Repartitions

StatData IpplStats::Repartitions
private

Definition at line 201 of file IpplStats.h.

Referenced by incRepartitions().

◆ Scatters

StatData IpplStats::Scatters
private

Definition at line 195 of file IpplStats.h.

Referenced by incScatters().

◆ StatList

std::vector<StatData *> IpplStats::StatList
private

Definition at line 176 of file IpplStats.h.

Referenced by addStat(), decStat(), incStat(), print(), and ~IpplStats().

◆ SubEqualsExpression

StatData IpplStats::SubEqualsExpression
private

Definition at line 208 of file IpplStats.h.

Referenced by incSubEqualsExpression().

◆ Time

Timer IpplStats::Time
private

Definition at line 180 of file IpplStats.h.

Referenced by getTime(), and IpplStats().


The documentation for this class was generated from the following files: