Transactional Memory checkpoint.
More...
#include <htm.hh>
|
| virtual void | reset () |
| | Resets the checkpoint once a transaction has completed.
|
| |
Transactional Memory checkpoint.
Definition at line 132 of file htm.hh.
◆ BaseHTMCheckpoint()
| gem5::BaseHTMCheckpoint::BaseHTMCheckpoint |
( |
| ) |
|
|
inline |
◆ ~BaseHTMCheckpoint()
| virtual gem5::BaseHTMCheckpoint::~BaseHTMCheckpoint |
( |
| ) |
|
|
inlinevirtual |
◆ getHtmUid()
| uint64_t gem5::BaseHTMCheckpoint::getHtmUid |
( |
| ) |
const |
|
inline |
◆ newHtmUid()
| uint64_t gem5::BaseHTMCheckpoint::newHtmUid |
( |
| ) |
|
|
inline |
◆ reset()
| virtual void gem5::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 gem5::ArmISA::HTMCheckpoint.
Definition at line 169 of file htm.hh.
References reset().
Referenced by gem5::ArmISA::HTMCheckpoint::restore().
◆ save()
◆ setHtmUid()
| void gem5::BaseHTMCheckpoint::setHtmUid |
( |
uint64_t | new_htm_uid | ) |
|
|
inline |
◆ valid()
| bool gem5::BaseHTMCheckpoint::valid |
( |
| ) |
const |
|
inline |
◆ _valid
| bool gem5::BaseHTMCheckpoint::_valid |
|
protected |
◆ globalHtmUid
| uint64_t gem5::BaseHTMCheckpoint::globalHtmUid = 0 |
|
staticprivate |
◆ localHtmUid
| uint64_t gem5::BaseHTMCheckpoint::localHtmUid |
|
private |
The documentation for this class was generated from the following files: