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

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

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines