aligator
0.16.0 A versatile and efficient C++ library for real-time constrained trajectory optimization. |
Utilities to set parallelism options. More...
Functions | |
| std::size_t | get_available_threads () |
| std::size_t | get_current_threads () |
| Get the current number of threads. | |
| std::size_t | get_thread_id () |
| Get the current thread ID. | |
| void | set_default_options (std::size_t num_threads, bool dynamic=true) |
Utilities to set parallelism options.
| inline |
Definition at line 13 of file threads.hpp.
| inline |
Get the current number of threads.
Definition at line 18 of file threads.hpp.
| inline |
Get the current thread ID.
Definition at line 23 of file threads.hpp.
| inline |
Definition at line 25 of file threads.hpp.