gem5  v21.1.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 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 Tue Sep 21 2021 12:31:45 for gem5 by doxygen 1.8.17