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)
inlinestatic

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

Parameters
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.
Returns
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().