STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Public Types
stapl::sched_entry< SchedInfo, Hook > Class Template Reference

Base scheduler entry class for entries that can know their scheduling information. More...

Public Member Functions

 sched_entry (sched_info_type sched_info)
 Creates a new sched_entry. More...
 
 sched_entry (sched_entry const &)=delete
 
sched_entryoperator= (sched_entry const &)=delete
 
sched_info_type const & sched_info (void) const noexcept
 Returns the scheduling information associated with this entry.
 
sched_info_type & sched_info (void) noexcept
 Returns the scheduling information associated with this entry. More...
 

Public Types

typedef SchedInfo sched_info_type
 

Detailed Description

template<typename SchedInfo, typename Hook>
class stapl::sched_entry< SchedInfo, Hook >

Base scheduler entry class for entries that can know their scheduling information.

Template Parameters
SchedInfoScheduling information object type.
HookHook for storing the entry in an intrusive container.

For example, tasks created by a PARAGRAPH can have scheduling information, whereas gang_executor objects cannot.

See also
executor

Constructor & Destructor Documentation

◆ sched_entry()

template<typename SchedInfo , typename Hook >
stapl::sched_entry< SchedInfo, Hook >::sched_entry ( sched_info_type  sched_info)
explicit

Creates a new sched_entry.

Parameters
sched_infoScheduling information.

Member Function Documentation

◆ sched_info()

template<typename SchedInfo , typename Hook >
sched_info_type& stapl::sched_entry< SchedInfo, Hook >::sched_info ( void  )
noexcept

Returns the scheduling information associated with this entry.


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