Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
Return number of bytes allocated to this instance by the heap.
This is not the same as the number of bytes allocated through calls to memalloc_. The latter number is not calculatable because space is wasted at the end of blocks if the next alloc request doesn't fit. (Perhaps we could trim down to what is actually used?)
Definition at line 264 of file stack_alloc.hpp.