gem5 v24.0.0.0
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()

static 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 Tue Jun 18 2024 16:24:14 for gem5 by doxygen 1.11.0