SST/macro
Public Member Functions | Private Attributes | List of all members
sstmac::sw::compute_event Class Referenceabstract

Input for processor models that use performance counter data. More...

#include <compute_event.h>

Inheritance diagram for sstmac::sw::compute_event:
Inheritance graph
Collaboration diagram for sstmac::sw::compute_event:
Collaboration graph

Public Member Functions

virtual bool is_timed_compute () const =0
 
void set_core (int core)
 
std::string to_string () const
 
int core () const
 
hw::memory_access_id access_id () const
 
void set_access_id (hw::memory_access_id id)
 
uint64_t unique_id () const
 
- Public Member Functions inherited from sstmac::event
void serialize_order (serializer &ser)
 
virtual bool is_packet () const
 convenience methods More...
 
virtual bool is_credit () const
 
virtual bool is_failure () const
 
template<class T >
T * interface ()
 
- Public Member Functions inherited from sprockit::serializable
virtual const char * cls_name () const =0
 
virtual uint32_t cls_id () const =0
 
virtual ~serializable ()
 

Private Attributes

int core_
 
hw::memory_access_id unique_id_
 

Additional Inherited Members

- Protected Types inherited from sprockit::serializable
enum  cxn_flag_t { ConstructorFlag }
 

Detailed Description

Input for processor models that use performance counter data.

Is basically just a map that maps std::string keys to integer values. Keys are defined in the libraries that use them.

Definition at line 34 of file compute_event.h.

Member Function Documentation

hw::memory_access_id sstmac::sw::compute_event::access_id ( ) const
inline

Definition at line 57 of file compute_event.h.

References unique_id_.

int sstmac::sw::compute_event::core ( ) const
inline

Definition at line 52 of file compute_event.h.

References core_.

Referenced by set_core().

virtual bool sstmac::sw::compute_event::is_timed_compute ( ) const
pure virtual
void sstmac::sw::compute_event::set_access_id ( hw::memory_access_id  id)
inline

Definition at line 62 of file compute_event.h.

References unique_id_.

void sstmac::sw::compute_event::set_core ( int  core)
inline

Definition at line 42 of file compute_event.h.

References core(), and core_.

Here is the call graph for this function:

std::string sstmac::sw::compute_event::to_string ( ) const
inlinevirtual

Implements sstmac::event.

Definition at line 47 of file compute_event.h.

uint64_t sstmac::sw::compute_event::unique_id ( ) const
inline

Definition at line 67 of file compute_event.h.

References unique_id_.

Member Data Documentation

int sstmac::sw::compute_event::core_
private

Definition at line 72 of file compute_event.h.

Referenced by core(), and set_core().

hw::memory_access_id sstmac::sw::compute_event::unique_id_
private

Definition at line 74 of file compute_event.h.

Referenced by access_id(), set_access_id(), and unique_id().


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