[#BloombergLP-balst-StackTraceTestAllocator-reportBlocksInUse] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balst.adoc[balst]::xref:BloombergLP/balst/StackTraceTestAllocator.adoc[StackTraceTestAllocator]::reportBlocksInUse :relfileprefix: ../../../ :mrdocs: Write a report of currently allocated blocks to `ostream`. == Synopsis Declared in `<balst_stacktracetestallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void reportBlocksInUse(std::ostream* ostream = 0) const; ---- == Description Report the unique call‐stacks for each block that has been allocated and has not yet been freed. If `ostream` is not specified, the value of `ostream` passed to the last call to `setOstream` will be used. If `setOstream` was never called, `bsl::cerr` will be used. == Parameters [cols="1,4"] |=== | Name| Description | *ostream* | stream to write the report to; null uses the configured stream |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#