gem5  v21.0.1.0
Public Member Functions | List of all members
InstructionQueue< Impl >::pqCompare Struct Reference

Struct for comparing entries to be added to the priority queue. More...

Public Member Functions

bool operator() (const DynInstPtr &lhs, const DynInstPtr &rhs) const
 

Detailed Description

template<class Impl>
struct InstructionQueue< Impl >::pqCompare

Struct for comparing entries to be added to the priority queue.

This gives reverse ordering to the instructions in terms of sequence numbers: the instructions with smaller sequence numbers (and hence are older) will be at the top of the priority queue.

Definition at line 334 of file inst_queue.hh.

Member Function Documentation

◆ operator()()

template<class Impl >
bool InstructionQueue< Impl >::pqCompare::operator() ( const DynInstPtr lhs,
const DynInstPtr rhs 
) const
inline

Definition at line 335 of file inst_queue.hh.


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

Generated on Tue Jun 22 2021 15:28:40 for gem5 by doxygen 1.8.17