gem5  v22.0.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 45 of file rr_scheduling_policy.hh.

Constructor & Destructor Documentation

◆ RRSchedulingPolicy()

gem5::RRSchedulingPolicy::RRSchedulingPolicy ( )

Definition at line 48 of file rr_scheduling_policy.hh.

Member Function Documentation

◆ __chooseWave()

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

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 Thu Jul 28 2022 13:33:12 for gem5 by doxygen 1.8.17