|
gem5 [DEVELOP-FOR-25.0]
|
#include <pc_count_pair.hh>
Classes | |
| struct | HashFunction |
| Enable hashing for this parameter. More... | |
Public Member Functions | |
| constexpr | PcCountPair (Addr _pc, uint64_t _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 uint64_t | 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. | |
| uint64_t | 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.
Referenced by gem5::PcCountPair::HashFunction::operator()(), operator==(), and operator>().
|
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(), pc, and PcCountPair().
|
inlineconstexpr |
Greater than comparison.
Definition at line 63 of file pc_count_pair.hh.
References count, getCount(), and PcCountPair().
|
inline |
String format.
Definition at line 77 of file pc_count_pair.hh.
References count, pc, and gem5::ArmISA::s.
Referenced by 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>(), PcCountPair(), PcCountPair(), 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==(), PcCountPair(), PcCountPair(), and to_string().