Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::LocalCPUProcessor Class Reference

#include <proc_impl.h>

Inheritance diagram for Realm::LocalCPUProcessor:
[legend]
Collaboration diagram for Realm::LocalCPUProcessor:
[legend]

Public Member Functions

 LocalCPUProcessor (RuntimeImpl *runtime_impl, Processor _me, CoreReservationSet &crs, size_t _stack_size, bool _force_kthreads, BackgroundWorkManager *bgwork, long long bgwork_timeslice)
virtual ~LocalCPUProcessor (void)
Public Member Functions inherited from Realm::LocalTaskProcessor
 LocalTaskProcessor (RuntimeImpl *runtime_impl, Processor _me, Processor::Kind _kind, int num_cores=1)
virtual ~LocalTaskProcessor (void)
virtual void enqueue_task (Task *task)
virtual void enqueue_tasks (Task::TaskList &tasks, size_t num_tasks)
virtual void spawn_task (Processor::TaskFuncID func_id, const void *args, size_t arglen, const ProfilingRequestSet &reqs, Event start_event, GenEventImpl *finish_event, EventImpl::gen_t finish_gen, int priority)
virtual bool register_task (Processor::TaskFuncID func_id, CodeDescriptor &codedesc, const ByteArrayRef &user_data)
virtual void start_threads (void)
virtual void shutdown (void)
virtual void add_to_group (ProcessorGroupImpl *group)
virtual void remove_from_group (ProcessorGroupImpl *group)
virtual void add_internal_task (InternalTask *task)
Public Member Functions inherited from Realm::ProcessorImpl
 ProcessorImpl (RuntimeImpl *runtime_impl, Processor _me, Processor::Kind _kind, int _num_cores=1)
virtual ~ProcessorImpl (void)
GenEventImpl * create_genevent ()
void free_genevent (GenEventImpl *)

Protected Attributes

CoreReservation * core_rsrv
Protected Attributes inherited from Realm::LocalTaskProcessor
ThreadedTaskScheduler * sched
TaskQueue task_queue
ProfilingGauges::AbsoluteRangeGauge< int > ready_task_count
DeferredSpawnCache deferred_spawn_cache
RWLock task_table_mutex
std::map< Processor::TaskFuncID, TaskTableEntry > task_table
Protected Attributes inherited from Realm::ProcessorImpl
LocalEventTableAllocator::FreeList free_local_events

Additional Inherited Members

Static Public Member Functions inherited from Realm::ProcessorImpl
static Processor::Kind get_processor_kind (RuntimeImpl *runtime_impl, Processor processor)
Public Attributes inherited from Realm::ProcessorImpl
Processor me
Processor::Kind kind
int num_cores
Protected Member Functions inherited from Realm::LocalTaskProcessor
void set_scheduler (ThreadedTaskScheduler *_sched)
virtual void execute_task (Processor::TaskFuncID func_id, const ByteArrayRef &task_args)
Protected Member Functions inherited from Realm::ProcessorImpl
void enqueue_or_defer_task (Task *task, Event start_event, DeferredSpawnCache *cache)

Constructor & Destructor Documentation

◆ LocalCPUProcessor()

Realm::LocalCPUProcessor::LocalCPUProcessor ( RuntimeImpl * runtime_impl,
Processor _me,
CoreReservationSet & crs,
size_t _stack_size,
bool _force_kthreads,
BackgroundWorkManager * bgwork,
long long bgwork_timeslice )

◆ ~LocalCPUProcessor()

virtual Realm::LocalCPUProcessor::~LocalCPUProcessor ( void )
virtual

Member Data Documentation

◆ core_rsrv

CoreReservation* Realm::LocalCPUProcessor::core_rsrv
protected

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/proc_impl.h