gem5  v20.1.0.0
Enumerations | Functions
htm.hh File Reference
#include <map>
#include <string>

Go to the source code of this file.

Enumerations

enum  HtmFailureFaultCause : int {
  HtmFailureFaultCause::INVALID = -1, HtmFailureFaultCause::EXPLICIT, HtmFailureFaultCause::NEST, HtmFailureFaultCause::SIZE,
  HtmFailureFaultCause::EXCEPTION, HtmFailureFaultCause::MEMORY, HtmFailureFaultCause::OTHER, HtmFailureFaultCause::NUM_CAUSES
}
 
enum  HtmCacheFailure { HtmCacheFailure::NO_FAIL, HtmCacheFailure::FAIL_SELF, HtmCacheFailure::FAIL_REMOTE, HtmCacheFailure::FAIL_OTHER }
 

Functions

std::string htmFailureToStr (HtmFailureFaultCause cause)
 Convert enum into string to be used for debug purposes. More...
 
std::string htmFailureToStr (HtmCacheFailure rc)
 Convert enum into string to be used for debug purposes. More...
 

Enumeration Type Documentation

◆ HtmCacheFailure

enum HtmCacheFailure
strong
Enumerator
NO_FAIL 
FAIL_SELF 
FAIL_REMOTE 
FAIL_OTHER 

Definition at line 56 of file htm.hh.

◆ HtmFailureFaultCause

enum HtmFailureFaultCause : int
strong
Enumerator
INVALID 
EXPLICIT 
NEST 
SIZE 
EXCEPTION 
MEMORY 
OTHER 
NUM_CAUSES 

Definition at line 44 of file htm.hh.

Function Documentation

◆ htmFailureToStr() [1/2]

std::string htmFailureToStr ( HtmCacheFailure  rc)

Convert enum into string to be used for debug purposes.

Definition at line 57 of file htm.cc.

References FAIL_OTHER, FAIL_REMOTE, FAIL_SELF, and NO_FAIL.

◆ htmFailureToStr() [2/2]

std::string htmFailureToStr ( HtmFailureFaultCause  cause)

Convert enum into string to be used for debug purposes.

Definition at line 41 of file htm.cc.

References EXCEPTION, EXPLICIT, MEMORY, NEST, OTHER, and SIZE.

Referenced by LSQUnit< Impl >::completeDataAccess(), TimingSimpleCPU::completeDataAccess(), HTMSequencer::htmCallback(), HTMSequencer::regStats(), and LSQUnit< Impl >::writeback().


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17