OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
IpplCounter Class Reference

#include <IpplCounter.h>

Collaboration diagram for IpplCounter:

Public Member Functions

 IpplCounter (const char *category)
 ~IpplCounter ()
void startCounter ()
void stopCounter ()
void printIt ()

Private Types

typedef long long CounterLong

Private Attributes

CounterLong totalcyc_m
CounterLong totalinst_m
CounterLong c0_m
CounterLong c21_m
int gen_start_m
int gen_read_m
std::string category_m
Inform msg_m

Detailed Description

Definition at line 37 of file IpplCounter.h.

Member Typedef Documentation

◆ CounterLong

typedef long long IpplCounter::CounterLong
private

Definition at line 52 of file IpplCounter.h.

Constructor & Destructor Documentation

◆ IpplCounter()

IpplCounter::IpplCounter ( const char * category)

Definition at line 41 of file IpplCounter.cpp.

References c0_m, c21_m, category_m, gen_read_m, gen_start_m, msg_m, totalcyc_m, and totalinst_m.

◆ ~IpplCounter()

IpplCounter::~IpplCounter ( )

Definition at line 53 of file IpplCounter.cpp.

Member Function Documentation

◆ printIt()

void IpplCounter::printIt ( )

Definition at line 86 of file IpplCounter.cpp.

References c0_m, c21_m, category_m, endl(), IpplInfo::getNodes(), msg_m, reduce(), totalcyc_m, and totalinst_m.

Here is the call graph for this function:

◆ startCounter()

void IpplCounter::startCounter ( )

Definition at line 59 of file IpplCounter.cpp.

References gen_start_m.

◆ stopCounter()

void IpplCounter::stopCounter ( )

Definition at line 69 of file IpplCounter.cpp.

References c0_m, c21_m, endl(), gen_read_m, gen_start_m, msg_m, totalcyc_m, and totalinst_m.

Here is the call graph for this function:

Member Data Documentation

◆ c0_m

CounterLong IpplCounter::c0_m
private

Definition at line 56 of file IpplCounter.h.

Referenced by IpplCounter(), printIt(), and stopCounter().

◆ c21_m

CounterLong IpplCounter::c21_m
private

Definition at line 57 of file IpplCounter.h.

Referenced by IpplCounter(), printIt(), and stopCounter().

◆ category_m

std::string IpplCounter::category_m
private

Definition at line 66 of file IpplCounter.h.

Referenced by IpplCounter(), and printIt().

◆ gen_read_m

int IpplCounter::gen_read_m
private

Definition at line 64 of file IpplCounter.h.

Referenced by IpplCounter(), and stopCounter().

◆ gen_start_m

int IpplCounter::gen_start_m
private

Definition at line 63 of file IpplCounter.h.

Referenced by IpplCounter(), startCounter(), and stopCounter().

◆ msg_m

Inform IpplCounter::msg_m
private

Definition at line 67 of file IpplCounter.h.

Referenced by IpplCounter(), printIt(), and stopCounter().

◆ totalcyc_m

CounterLong IpplCounter::totalcyc_m
private

Definition at line 54 of file IpplCounter.h.

Referenced by IpplCounter(), printIt(), and stopCounter().

◆ totalinst_m

CounterLong IpplCounter::totalinst_m
private

Definition at line 55 of file IpplCounter.h.

Referenced by IpplCounter(), printIt(), and stopCounter().


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