Syntax # include <cppad/utility/omp_alloc.hpp> num_bytes = omp_alloc::inuse(thread)
Use the function thread_alloc::inuse
Memory being managed by omp_alloc
has two states,
currently in use by the specified thread,
and quickly available for future use by the specified thread.
This function informs the program how much memory is in use.
This argument has prototype
must be the same as
or the current execution mode must be sequential
The return value has prototype
It is the number of bytes currently in use by the specified thread.