gem5  v22.0.0.2
Public Member Functions | Private Attributes | List of all members
gem5::Scheduler Class Reference

#include <scheduler.hh>

Public Member Functions

 Scheduler (const ComputeUnitParams &params)
WavefrontchooseWave ()
void bindList (std::vector< Wavefront * > *sched_list)

Private Attributes

 Scheduling policy. More...
std::vector< Wavefront * > * scheduleList

Detailed Description

Definition at line 44 of file scheduler.hh.

Constructor & Destructor Documentation

◆ Scheduler()

gem5::Scheduler::Scheduler ( const ComputeUnitParams &  params)

Definition at line 41 of file

References fatal, gem5::VegaISA::p, and schedPolicy.

Member Function Documentation

◆ bindList()

void gem5::Scheduler::bindList ( std::vector< Wavefront * > *  sched_list)

Definition at line 59 of file

References scheduleList.

Referenced by gem5::FetchUnit::init().

◆ chooseWave()

Wavefront * gem5::Scheduler::chooseWave ( )

Definition at line 53 of file

References gem5::SchedulingPolicy::chooseWave(), schedPolicy, and scheduleList.

Referenced by gem5::FetchUnit::exec().

Member Data Documentation

◆ schedPolicy

SchedulingPolicy* gem5::Scheduler::schedPolicy

Scheduling policy.

Currently the model can support oldest-first or round-robin scheduling.

Definition at line 56 of file scheduler.hh.

Referenced by chooseWave(), and Scheduler().

◆ scheduleList

std::vector<Wavefront*>* gem5::Scheduler::scheduleList

Definition at line 57 of file scheduler.hh.

Referenced by bindList(), and chooseWave().

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

Generated on Thu Jul 28 2022 13:33:12 for gem5 by doxygen 1.8.17