gem5  v20.1.0.0
Public Member Functions | Static Public Member Functions | List of all members
RRSchedulingPolicy Class Referencefinal

#include <rr_scheduling_policy.hh>

Inheritance diagram for RRSchedulingPolicy:
__SchedulingPolicy< RRSchedulingPolicy > SchedulingPolicy

Public Member Functions

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

Static Public Member Functions

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

Detailed Description

Definition at line 44 of file rr_scheduling_policy.hh.

Constructor & Destructor Documentation

◆ RRSchedulingPolicy()

RRSchedulingPolicy::RRSchedulingPolicy ( )
inline

Definition at line 47 of file rr_scheduling_policy.hh.

Member Function Documentation

◆ __chooseWave()

static Wavefront* 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 52 of file rr_scheduling_policy.hh.

References panic_if.


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

Generated on Wed Sep 30 2020 14:02:30 for gem5 by doxygen 1.8.17