gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::RRSchedulingPolicy Class Referencefinal

#include <rr_scheduling_policy.hh>

Inheritance diagram for gem5::RRSchedulingPolicy:
gem5::__SchedulingPolicy< RRSchedulingPolicy > gem5::SchedulingPolicy

Public Member Functions

 RRSchedulingPolicy ()
Public Member Functions inherited from gem5::__SchedulingPolicy< RRSchedulingPolicy >
 __SchedulingPolicy ()
WavefrontchooseWave (std::vector< Wavefront * > *sched_list) override
Public Member Functions inherited from gem5::SchedulingPolicy
 SchedulingPolicy ()

Static Public Member Functions

static Wavefront__chooseWave (std::vector< Wavefront * > *sched_list)

Detailed Description

Definition at line 45 of file rr_scheduling_policy.hh.

Constructor & Destructor Documentation

◆ RRSchedulingPolicy()

gem5::RRSchedulingPolicy::RRSchedulingPolicy ( )
inline

Definition at line 48 of file rr_scheduling_policy.hh.

Member Function Documentation

◆ __chooseWave()

Wavefront * gem5::RRSchedulingPolicy::__chooseWave ( std::vector< Wavefront * > * sched_list)
inlinestatic

For RR policy, select the wave that is at the front of the list. The selected wave is popped out from the schedule list immediately after selection to avoid starvation. It is the responsibility of the module invoking the RR scheduler to make sure it is scheduling eligible waves are added to the back of the schedule list.

Definition at line 53 of file rr_scheduling_policy.hh.

References panic_if.


The documentation for this class was generated from the following file:

Generated on Sat Oct 18 2025 08:06:54 for gem5 by doxygen 1.14.0