aligator  0.16.0
A versatile and efficient C++ library for real-time constrained trajectory optimization.
Loading...
Searching...
No Matches
threads.hpp File Reference
#include <omp.h>
Include dependency graph for threads.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  aligator
 Main package namespace.
 
namespace  aligator::omp
 Utilities to set parallelism options.
 

Functions

std::size_t aligator::omp::get_available_threads ()
 
std::size_t aligator::omp::get_current_threads ()
 Get the current number of threads.
 
std::size_t aligator::omp::get_thread_id ()
 Get the current thread ID.
 
void aligator::omp::set_default_options (std::size_t num_threads, bool dynamic=true)