Transactional Memory checkpoint.
More...
#include <htm.hh>
|
virtual void | reset () |
| Resets the checkpoint once a transaction has completed. More...
|
|
Transactional Memory checkpoint.
Definition at line 129 of file htm.hh.
◆ BaseHTMCheckpoint()
BaseHTMCheckpoint::BaseHTMCheckpoint |
( |
| ) |
|
|
inline |
◆ ~BaseHTMCheckpoint()
virtual BaseHTMCheckpoint::~BaseHTMCheckpoint |
( |
| ) |
|
|
inlinevirtual |
◆ getHtmUid()
uint64_t BaseHTMCheckpoint::getHtmUid |
( |
| ) |
const |
|
inline |
◆ newHtmUid()
uint64_t BaseHTMCheckpoint::newHtmUid |
( |
| ) |
|
|
inline |
◆ reset()
virtual void BaseHTMCheckpoint::reset |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ restore()
Every ISA implementing HTM support should override the restore method.
This is called once a transaction gets aborted and the architectural state needs to be reverted. This will restore the checkpointed arch state.
- Parameters
-
tc | thread context to be restored |
cause | the reason why the transaction has been aborted |
Reimplemented in ArmISA::HTMCheckpoint.
Definition at line 166 of file htm.hh.
References reset().
Referenced by ArmISA::HTMCheckpoint::restore().
◆ save()
Every ISA implementing HTM support should override the save method.
This is called once a transaction starts and the architectural state needs to be saved. This will checkpoint the arch state.
- Parameters
-
tc | thread context state to be saved |
Reimplemented in ArmISA::HTMCheckpoint.
Definition at line 151 of file htm.hh.
References _valid.
Referenced by ArmISA::HTMCheckpoint::save().
◆ setHtmUid()
void BaseHTMCheckpoint::setHtmUid |
( |
uint64_t |
new_htm_uid | ) |
|
|
inline |
◆ valid()
bool BaseHTMCheckpoint::valid |
( |
| ) |
const |
|
inline |
◆ _valid
bool BaseHTMCheckpoint::_valid |
|
protected |
◆ globalHtmUid
uint64_t BaseHTMCheckpoint::globalHtmUid = 0 |
|
staticprivate |
◆ localHtmUid
uint64_t BaseHTMCheckpoint::localHtmUid |
|
private |
The documentation for this class was generated from the following files: