NUMA++ scheduler APIs.
More...
|
Applies scheduler to specified thread.
|
| std::error_code | numapp::Apply (pid_t thread, IdleScheduler const &scheduler) noexcept |
| | Apply idle scheduler to specified thread.
|
| |
| std::error_code | numapp::Apply (pid_t thread, DynamicScheduler const &scheduler) noexcept |
| | Apply dynamic scheduler to specified thread.
|
| |
| std::error_code | numapp::Apply (pid_t thread, StaticScheduler const &scheduler) noexcept |
| | Apply static scheduler to specified thread.
|
| |
| std::error_code | numapp::Apply (pid_t thread, Scheduler const &scheduler) noexcept |
| | Apply variadic scheduler to specified thread.
|
| |
| std::error_code | Apply (pid_t thread, IdleScheduler const &scheduler) noexcept |
| | Apply idle scheduler to specified thread.
|
| |
| std::error_code | Apply (pid_t thread, DynamicScheduler const &scheduler) noexcept |
| | Apply dynamic scheduler to specified thread.
|
| |
| std::error_code | Apply (pid_t thread, StaticScheduler const &scheduler) noexcept |
| | Apply static scheduler to specified thread.
|
| |
| std::error_code | Apply (pid_t thread, Scheduler const &scheduler) noexcept |
| | Apply variadic scheduler to specified thread.
|
| |
NUMA++ scheduler APIs.
See Scheduler API for an overview.
◆ Apply() [1/16]
Apply dynamic scheduler to specified thread.
- Parameters
-
| thread | thread id. |
| scheduler | scheduler parameters. |
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [2/16]
| std::error_code Apply |
( |
pid_t | thread, |
|
|
IdleScheduler const & | scheduler ) |
|
nodiscardnoexcept |
Apply idle scheduler to specified thread.
- Parameters
-
| thread | thread id. |
| scheduler | parameters. |
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [3/16]
| std::error_code Apply |
( |
pid_t | thread, |
|
|
Scheduler const & | scheduler ) |
|
nodiscardnoexcept |
Apply variadic scheduler to specified thread.
- Parameters
-
| thread | thread id. |
| scheduler | parameters. |
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [4/16]
Apply static scheduler to specified thread.
- Parameters
-
| thread | thread id. |
| scheduler | scheduler parameters. |
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [5/16]
Apply dynamic scheduler to this thread.
- Parameters
-
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [6/16]
Apply dynamic scheduler to specified thread.
- Parameters
-
| thread | thread id. |
| scheduler | scheduler parameters. |
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [7/16]
Apply idle scheduler to this thread.
- Parameters
-
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [8/16]
| std::error_code Apply |
( |
pid_t | thread, |
|
|
IdleScheduler const & | scheduler ) |
|
related |
Apply idle scheduler to specified thread.
- Parameters
-
| thread | thread id. |
| scheduler | parameters. |
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [9/16]
| std::error_code Apply |
( |
pid_t | thread, |
|
|
Scheduler const & | scheduler ) |
|
related |
Apply variadic scheduler to specified thread.
- Parameters
-
| thread | thread id. |
| scheduler | parameters. |
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [10/16]
| std::error_code Apply |
( |
Scheduler const & | scheduler | ) |
|
|
related |
Apply variadic scheduler to this thread.
- Parameters
-
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [11/16]
Apply static scheduler to specified thread.
- Parameters
-
| thread | thread id. |
| scheduler | scheduler parameters. |
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [12/16]
Apply static scheduler to this thread.
- Parameters
-
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [13/16]
Apply dynamic scheduler to this thread.
- Parameters
-
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [14/16]
| std::error_code numapp::thisThread::Apply |
( |
IdleScheduler const & | scheduler | ) |
|
|
nodiscardnoexcept |
Apply idle scheduler to this thread.
- Parameters
-
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [15/16]
| std::error_code numapp::thisThread::Apply |
( |
Scheduler const & | scheduler | ) |
|
|
nodiscardnoexcept |
Apply variadic scheduler to this thread.
- Parameters
-
- Returns
- 0 on success.
-
on-zero on failure.
◆ Apply() [16/16]
| std::error_code numapp::thisThread::Apply |
( |
StaticScheduler const & | scheduler | ) |
|
|
nodiscardnoexcept |
Apply static scheduler to this thread.
- Parameters
-
- Returns
- 0 on success.
-
on-zero on failure.
◆ operator<<()
| std::ostream & numapp::operator<< |
( |
std::ostream & | os, |
|
|
SchedulerVariant const & | scheduler ) |
Formats scheduler and inserts it to os.
- Parameters
-
| os | output stream to insert into. |
| scheduler | Scheduler to format. |
- Returns
- os