Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ approx_bytes_used()

size_t stan::math::stack_alloc::approx_bytes_used ( ) const
inline

Return the approximate number of bytes handed out through calls to alloc().

Blocks before the current one are counted in full, so any space wasted at the end of a block when moving to the next one is included.

Returns
approximate number of bytes used on this instance

Definition at line 280 of file stack_alloc.hpp.