gem5  v22.0.0.2
Public Member Functions | List of all members
gem5::o3::InstructionQueue::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

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 346 of file inst_queue.hh.

Member Function Documentation

◆ operator()()

bool gem5::o3::InstructionQueue::PqCompare::operator() ( const DynInstPtr lhs,
const DynInstPtr rhs 
) const

Definition at line 1326 of file inst_queue.cc.


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

Generated on Thu Jul 28 2022 13:34:11 for gem5 by doxygen 1.8.17