gem5  v22.1.0.0
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 Wed Dec 21 2022 10:24:18 for gem5 by doxygen 1.9.1