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

Determine the amount of memory that is currently inuse.

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

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