OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Types | Private Attributes | List of all members
IpplCounter Class Reference

#include <IpplCounter.h>

Collaboration diagram for IpplCounter:
Collaboration graph
[legend]

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

typedef long long IpplCounter::CounterLong
private

Definition at line 52 of file IpplCounter.h.

Constructor & Destructor Documentation

IpplCounter::IpplCounter ( const char *  category)

Definition at line 41 of file IpplCounter.cpp.

IpplCounter::~IpplCounter ( )

Definition at line 53 of file IpplCounter.cpp.

Member Function Documentation

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:

void IpplCounter::startCounter ( )

Definition at line 59 of file IpplCounter.cpp.

References gen_start_m.

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

CounterLong IpplCounter::c0_m
private

Definition at line 56 of file IpplCounter.h.

Referenced by printIt(), and stopCounter().

CounterLong IpplCounter::c21_m
private

Definition at line 57 of file IpplCounter.h.

Referenced by printIt(), and stopCounter().

std::string IpplCounter::category_m
private

Definition at line 66 of file IpplCounter.h.

Referenced by printIt().

int IpplCounter::gen_read_m
private

Definition at line 64 of file IpplCounter.h.

Referenced by stopCounter().

int IpplCounter::gen_start_m
private

Definition at line 63 of file IpplCounter.h.

Referenced by startCounter(), and stopCounter().

Inform IpplCounter::msg_m
private

Definition at line 67 of file IpplCounter.h.

Referenced by printIt(), and stopCounter().

CounterLong IpplCounter::totalcyc_m
private

Definition at line 54 of file IpplCounter.h.

Referenced by printIt(), and stopCounter().

CounterLong IpplCounter::totalinst_m
private

Definition at line 55 of file IpplCounter.h.

Referenced by printIt(), and stopCounter().


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