CppAD: A C++ Algorithmic Differentiation Package  20130102
static size_t thread_alloc::available ( size_t  thread) [inline, static]

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 1290 of file thread_alloc.hpp.

Referenced by free_available(), and memory_leak().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines