gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 1327 of file inst_queue.cc.


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

Generated on Tue Jun 18 2024 16:24:20 for gem5 by doxygen 1.11.0