gem5  v21.2.1.1
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 345 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 1323 of file inst_queue.cc.


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

Generated on Wed May 4 2022 12:15:47 for gem5 by doxygen 1.8.17