mc2lib
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mc2lib::memconsistency::Event Class Reference

#include <eventsets.hpp>

Classes

struct  Hash
 

Public Types

typedef std::uint32_t Type
 

Public Member Functions

 Event ()
 
 Event (Type type_, types::Addr addr_, const Iiid &iiid_)
 
 operator std::string () const
 
bool operator== (const Event &rhs) const
 
bool operator!= (const Event &rhs) const
 
bool operator< (const Event &rhs) const
 
bool AllType (Type type_mask) const
 
bool AnyType (Type type_mask) const
 

Public Attributes

types::Addr addr
 
Type type
 
Iiid iiid
 

Static Public Attributes

static constexpr Type kNone = 0x00000000
 
static constexpr Type kRead = 0x00000001
 
static constexpr Type kWrite = 0x00000002
 
static constexpr Type kAcquire = 0x00000004
 
static constexpr Type kRelease = 0x00000008
 
static constexpr Type kMemoryOperation = kRead | kWrite | kAcquire | kRelease
 
static constexpr Type kRegInAddr = 0x00000010
 
static constexpr Type kRegInData = 0x00000020
 
static constexpr Type kRegOut = 0x00000040
 
static constexpr Type kBranch = 0x00000080
 
static constexpr Type kNext = 0x00000100
 

Member Typedef Documentation

§ Type

typedef std::uint32_t mc2lib::memconsistency::Event::Type

Constructor & Destructor Documentation

§ Event() [1/2]

mc2lib::memconsistency::Event::Event ( )
inline

§ Event() [2/2]

mc2lib::memconsistency::Event::Event ( Type  type_,
types::Addr  addr_,
const Iiid iiid_ 
)
inline

Member Function Documentation

§ AllType()

bool mc2lib::memconsistency::Event::AllType ( Type  type_mask) const
inline

§ AnyType()

bool mc2lib::memconsistency::Event::AnyType ( Type  type_mask) const
inline

§ operator std::string()

mc2lib::memconsistency::Event::operator std::string ( ) const
inline

§ operator!=()

bool mc2lib::memconsistency::Event::operator!= ( const Event rhs) const
inline

§ operator<()

bool mc2lib::memconsistency::Event::operator< ( const Event rhs) const
inline

§ operator==()

bool mc2lib::memconsistency::Event::operator== ( const Event rhs) const
inline

Member Data Documentation

§ addr

types::Addr mc2lib::memconsistency::Event::addr

§ iiid

Iiid mc2lib::memconsistency::Event::iiid

§ kAcquire

constexpr Type mc2lib::memconsistency::Event::kAcquire = 0x00000004
static

§ kBranch

constexpr Type mc2lib::memconsistency::Event::kBranch = 0x00000080
static

§ kMemoryOperation

constexpr Type mc2lib::memconsistency::Event::kMemoryOperation = kRead | kWrite | kAcquire | kRelease
static

§ kNext

constexpr Type mc2lib::memconsistency::Event::kNext = 0x00000100
static

§ kNone

constexpr Type mc2lib::memconsistency::Event::kNone = 0x00000000
static

§ kRead

constexpr Type mc2lib::memconsistency::Event::kRead = 0x00000001
static

§ kRegInAddr

constexpr Type mc2lib::memconsistency::Event::kRegInAddr = 0x00000010
static

§ kRegInData

constexpr Type mc2lib::memconsistency::Event::kRegInData = 0x00000020
static

§ kRegOut

constexpr Type mc2lib::memconsistency::Event::kRegOut = 0x00000040
static

§ kRelease

constexpr Type mc2lib::memconsistency::Event::kRelease = 0x00000008
static

§ kWrite

constexpr Type mc2lib::memconsistency::Event::kWrite = 0x00000002
static

§ type

Type mc2lib::memconsistency::Event::type

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