CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
static size_t CppAD::thread_alloc::available ( size_t  thread)

Determine the amount of memory that is currently available for use.

thread[in] Thread for which we are determining the amount of memory (must be < CPPAD_MAX_NUM_THREADS). Durring parallel execution, this must be the thread that is currently executing.
The amount of memory in bytes.

Definition at line 1249 of file thread_alloc.hpp.

Referenced by CppAD::omp_alloc::available(), free_available(), and CppAD::memory_leak().