<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>GCStats (infer.Backend.GCStats)</title><linkrel="stylesheet"href="../../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.1"/><metaname="viewport"content="width=device-width,initial-scale=1.0"/><scriptsrc="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><divclass="content"><header><nav><ahref="../index.html">Up</a>–<ahref="../../index.html">infer</a>»<ahref="../index.html">Backend</a>» GCStats</nav><h1>Module <code>Backend.GCStats</code></h1></header><divclass="spec module"id="module-L"><ahref="#module-L"class="anchor"></a><code><spanclass="keyword">module</span> L = <ahref="../../IBase/index.html#module-Logging">IBase.Logging</a></code></div><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt><dtclass="spec type"id="type-since"><ahref="#type-since"class="anchor"></a><code><spanclass="keyword">type</span> since</code><code> = </code><tableclass="variant"><trid="type-since.ProgramStart"class="anchored"><tdclass="def constructor"><ahref="#type-since.ProgramStart"class="anchor"></a><code>| </code><code><spanclass="constructor">ProgramStart</span></code></td><tdclass="doc"><p>get GC stats from the beginning of the program</p></td></tr><trid="type-since.PreviousStats"class="anchored"><tdclass="def constructor"><ahref="#type-since.PreviousStats"class="anchor"></a><code>| </code><code><spanclass="constructor">PreviousStats</span><spanclass="keyword">of</span><ahref="index.html#type-t">t</a></code></td><tdclass="doc"><p>get GC stats relative to another point in time where GC stats were obtained with <code>get ~since:ProgramStart</code></p></td></tr></table></dt></dl><dl><dtclass="spec value"id="val-get"><ahref="#val-get"class="anchor"></a><code><spanclass="keyword">val</span> get : <span>since:<ahref="index.html#type-since">since</a></span><span>-></span><ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-log"><ahref="#val-log"class="anchor"></a><code><spanclass="keyword">val</span> log : <span>name:string</span><span>-></span><ahref="../../IBase/Logging/index.html#type-debug_kind">L.debug_kind</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p>log to infer's log file and to Scuba</p></dd></dl><dl><dtclass="spec value"id="val-log_aggregate"><ahref="#val-log_aggregate"class="anchor"></a><code><spanclass="keyword">val</span> log_aggregate : <span>prefix:string</span><span>-></span><ahref="../../IBase/Logging/index.html#type-debug_kind">L.debug_kind</a><span>-></span><span><ahref="index.html#type-t">t</a> list</span><span>-></span> unit</code></dt><dd><p>log aggregate to infer's log file and to Scuba</p></dd></dl><dl><dtclass="spec value"id="val-log_f"><ahref="#val-log_f"class="anchor"></a><code><spanclass="keyword">val</span> log_f : <span>name:string</span><span>-></span><ahref="../../IBase/Logging/index.html#type-debug_kind">L.debug_kind</a><span>-></span><span>(unit <span>-></span><spanclass="type-var">'a</span>)</span><span>-></span><spanclass="type-var">'a</span></code></dt><dd><p>log GC stats for the duration of the function passed as argument to infer's log file and to Scuba</p></dd></dl></div></body></html>