gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 340 of file inst_queue.hh.

Member Function Documentation

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

Definition at line 341 of file inst_queue.hh.


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

Generated on Fri Jun 9 2017 13:04:13 for gem5 by doxygen 1.8.6