gem5  v21.1.0.2
Public Member Functions | Static Public Member Functions | List of all members
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 47 of file rr_scheduling_policy.hh.

Constructor & Destructor Documentation

◆ RRSchedulingPolicy()

gem5::RRSchedulingPolicy::RRSchedulingPolicy ( )
inline

Definition at line 50 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 55 of file rr_scheduling_policy.hh.

References panic_if.


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

Generated on Tue Sep 21 2021 12:28:04 for gem5 by doxygen 1.8.17