gem5  v20.1.0.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 336 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 337 of file inst_queue.hh.


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

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