Itoyori  v0.0.1
ityr::ito::scheduler_serial Class Reference

#include <serial.hpp>

Classes

struct  task_group_data
 

Public Types

template<typename T >
using thread_handler = T
 

Public Member Functions

 scheduler_serial ()
 
template<typename T , typename SchedLoopCallback , typename Fn , typename... Args>
root_exec (SchedLoopCallback, Fn &&fn, Args &&... args)
 
template<typename T , typename OnDriftForkCallback , typename OnDriftDieCallback , typename WorkHint , typename Fn , typename... Args>
void fork (thread_handler< T > &th, OnDriftForkCallback, OnDriftDieCallback, WorkHint, WorkHint, Fn &&fn, Args &&... args)
 
template<typename T >
join (thread_handler< T > &th)
 
template<typename SchedLoopCallback >
void sched_loop (SchedLoopCallback)
 
template<typename PreSuspendCallback , typename PostSuspendCallback >
void poll (PreSuspendCallback &&, PostSuspendCallback &&)
 
template<typename PreSuspendCallback , typename PostSuspendCallback >
void migrate_to (common::topology::rank_t, PreSuspendCallback &&, PostSuspendCallback &&)
 
template<typename Fn >
void coll_exec (const Fn &fn)
 
bool is_executing_root () const
 
void task_group_begin (task_group_data *)
 
template<typename PreSuspendCallback , typename PostSuspendCallback >
void task_group_end (PreSuspendCallback &&, PostSuspendCallback &&)
 
void dag_prof_begin ()
 
void dag_prof_end ()
 
void dag_prof_print () const
 

Static Public Member Functions

template<typename T >
static bool is_serialized (const thread_handler< T > &)
 

Member Typedef Documentation

◆ thread_handler

template<typename T >
using ityr::ito::scheduler_serial::thread_handler = T

Constructor & Destructor Documentation

◆ scheduler_serial()

ityr::ito::scheduler_serial::scheduler_serial ( )
inline

Member Function Documentation

◆ coll_exec()

template<typename Fn >
void ityr::ito::scheduler_serial::coll_exec ( const Fn &  fn)
inline

◆ dag_prof_begin()

void ityr::ito::scheduler_serial::dag_prof_begin ( )
inline

◆ dag_prof_end()

void ityr::ito::scheduler_serial::dag_prof_end ( )
inline

◆ dag_prof_print()

void ityr::ito::scheduler_serial::dag_prof_print ( ) const
inline

◆ fork()

template<typename T , typename OnDriftForkCallback , typename OnDriftDieCallback , typename WorkHint , typename Fn , typename... Args>
void ityr::ito::scheduler_serial::fork ( thread_handler< T > &  th,
OnDriftForkCallback  ,
OnDriftDieCallback  ,
WorkHint  ,
WorkHint  ,
Fn &&  fn,
Args &&...  args 
)
inline

◆ is_executing_root()

bool ityr::ito::scheduler_serial::is_executing_root ( ) const
inline

◆ is_serialized()

template<typename T >
static bool ityr::ito::scheduler_serial::is_serialized ( const thread_handler< T > &  )
inlinestatic

◆ join()

template<typename T >
T ityr::ito::scheduler_serial::join ( thread_handler< T > &  th)
inline

◆ migrate_to()

template<typename PreSuspendCallback , typename PostSuspendCallback >
void ityr::ito::scheduler_serial::migrate_to ( common::topology::rank_t  ,
PreSuspendCallback &&  ,
PostSuspendCallback &&   
)
inline

◆ poll()

template<typename PreSuspendCallback , typename PostSuspendCallback >
void ityr::ito::scheduler_serial::poll ( PreSuspendCallback &&  ,
PostSuspendCallback &&   
)
inline

◆ root_exec()

template<typename T , typename SchedLoopCallback , typename Fn , typename... Args>
T ityr::ito::scheduler_serial::root_exec ( SchedLoopCallback  ,
Fn &&  fn,
Args &&...  args 
)
inline

◆ sched_loop()

template<typename SchedLoopCallback >
void ityr::ito::scheduler_serial::sched_loop ( SchedLoopCallback  )
inline

◆ task_group_begin()

void ityr::ito::scheduler_serial::task_group_begin ( task_group_data )
inline

◆ task_group_end()

template<typename PreSuspendCallback , typename PostSuspendCallback >
void ityr::ito::scheduler_serial::task_group_end ( PreSuspendCallback &&  ,
PostSuspendCallback &&   
)
inline

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