Prev | Next | omp_inuse |
# include <cppad/utility/omp_alloc.hpp>
num_bytes = omp_alloc::inuse(thread)
Use the function thread_alloc::inuse
instead.
size_t thread
Either omp_get_thread_num
must be the same as
thread
,
or the current execution mode must be sequential
(not parallel
).
size_t num_bytes
It is the number of bytes currently in use by the specified thread.