Telamon
Public Member Functions | Static Public Attributes | List of all members
telamon_simulator::ContentionFailureCounter Class Reference

Measures the contention which was encountered during simulation. More...

#include <Versioning.hh>

Public Member Functions

auto detect () -> bool
 
auto get () const noexcept -> int
 

Static Public Attributes

constexpr static int THRESHOLD = 2
 
constexpr static int FAST_PATH_RETRY_THRESHOLD = 3
 

Detailed Description

Measures the contention which was encountered during simulation.

Keeps an internal counter of the detected contention and responds according to it.


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