<p>Updated pull request. Created 2 new functions (similar to qm_sums):</p>

<ul>
<li>qm_mod_get_stats() fills a list of <em>struct mem_counter</em> with details</li>
<li>qm_mod_free_stats() frees the above allocated list</li>
</ul>

<p>I have a question related to compiling using different memory allocation algorithms (as seen here <a href="http://www.kamailio.org/wiki/tutorials/troubleshooting/memory">http://www.kamailio.org/wiki/tutorials/troubleshooting/memory</a>):</p>

<ul>
<li>MEMMNG=1 MEMDBG=0/1 make cfg - will use the F_* allocation algorithm</li>
<li>MEMMNG=2 MEMDBG=0/1 make cfg - will use the F_* allocation algorithm</li>
</ul>

<p>How can I compile using Q_* and TLSF_* algorithms in order to make tests for them?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/225#issuecomment-153000095">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZWl-6iQhl9jXggS6OqrEMrxMu53Kks5pB0pSgaJpZM4FOLp0.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/225#issuecomment-153000095"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>