gem5 v24.0.0.0
|
#include <pc_count_pair.hh>
Classes | |
struct | HashFunction |
Enable hashing for this parameter. More... | |
Public Member Functions | |
constexpr | PcCountPair (Addr _pc, int _count) |
Explicit constructor assigning the pc and count values. | |
PcCountPair () | |
Default constructor for parameter classes. | |
constexpr Addr | getPC () const |
Returns the Program Counter address. | |
constexpr int | getCount () const |
Returns the count of the Program. | |
constexpr bool | operator> (const PcCountPair &cc) const |
Greater than comparison. | |
constexpr bool | operator== (const PcCountPair &cc) const |
Equal comparison. | |
std::string | to_string () const |
String format. | |
Private Attributes | |
Addr | pc |
The Program Counter address. | |
int | count |
The count of the Program Counter address. | |
Definition at line 37 of file pc_count_pair.hh.
|
inlineexplicitconstexpr |
Explicit constructor assigning the pc and count values.
Definition at line 50 of file pc_count_pair.hh.
|
inline |
Default constructor for parameter classes.
Definition at line 54 of file pc_count_pair.hh.
|
inlineconstexpr |
Returns the count of the Program.
Definition at line 59 of file pc_count_pair.hh.
References count.
Referenced by gem5::init_pc(), operator==(), and operator>().
|
inlineconstexpr |
Returns the Program Counter address.
Definition at line 57 of file pc_count_pair.hh.
References pc.
Referenced by gem5::init_pc(), and operator==().
|
inlineconstexpr |
Equal comparison.
Definition at line 70 of file pc_count_pair.hh.
References count, getCount(), getPC(), and pc.
|
inlineconstexpr |
Greater than comparison.
Definition at line 63 of file pc_count_pair.hh.
References count, and getCount().
|
inline |
String format.
Definition at line 77 of file pc_count_pair.hh.
References count, pc, and gem5::ArmISA::s.
Referenced by gem5::PcCountTrackerManager::checkCount(), and gem5::init_pc().
|
private |
The count of the Program Counter address.
Definition at line 45 of file pc_count_pair.hh.
Referenced by getCount(), gem5::PcCountPair::HashFunction::operator()(), operator==(), operator>(), and to_string().
|
private |
The Program Counter address.
Definition at line 43 of file pc_count_pair.hh.
Referenced by getPC(), gem5::PcCountPair::HashFunction::operator()(), operator==(), and to_string().