Public Member Functions | Data Fields | Friends

Cpu_PowerAndData Class Reference

Inheritance diagram for Cpu_PowerAndData:
SST::IntrospectedComponent SST::Component

Public Member Functions

 Cpu_PowerAndData (ComponentId_t id, Params_t &params)
int Setup ()
 Called after all components have been constructed, but before simulation time has begun.
int Finish ()
 Called after simulation completes, but before objects are destroyed.
uint64_t getIntData (int dataID, int index=0)
 Return the value of the integer data indicated by "dataID" and "index" (if the data structure is a table).

Data Fields

int counts
double area
uint64_t num_il1_read
uint64_t mycore_temperature
uint64_t num_branch_read
uint64_t num_branch_write
uint64_t num_RAS_read
uint64_t num_RAS_write

Friends

class boost::serialization::access

Member Function Documentation

int Cpu_PowerAndData::Finish (  )  [inline, virtual]

Called after simulation completes, but before objects are destroyed.

A good place to print out statistics.

Reimplemented from SST::Component.

uint64_t Cpu_PowerAndData::getIntData ( int  dataID,
int  index = 0 
) [inline, virtual]

Return the value of the integer data indicated by "dataID" and "index" (if the data structure is a table).

Each component type needs to implement its own getIntData. The function is usually called by introspector pull mechanism.

Parameters:
dataID ID of the integer data
index of the table (if the data structure is a table); default is set to 0

Reimplemented from SST::IntrospectedComponent.

int Cpu_PowerAndData::Setup (  )  [inline, virtual]

Called after all components have been constructed, but before simulation time has begun.

Reimplemented from SST::Component.


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