You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
3.4 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>GCStats (infer.Backend.GCStats)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.2"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div class="content"><header><nav><a href="../index.html">Up</a> <a href="../../index.html">infer</a> &#x00BB; <a href="../index.html">Backend</a> &#x00BB; GCStats</nav><h1>Module <code>Backend.GCStats</code></h1></header><div class="spec module" id="module-L"><a href="#module-L" class="anchor"></a><code><span class="keyword">module</span> L = <a href="../../IBase/index.html#module-Logging">IBase.Logging</a></code></div><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt><dt class="spec type" id="type-since"><a href="#type-since" class="anchor"></a><code><span class="keyword">type</span> since</code><code> = </code><table class="variant"><tr id="type-since.ProgramStart" class="anchored"><td class="def constructor"><a href="#type-since.ProgramStart" class="anchor"></a><code>| </code><code><span class="constructor">ProgramStart</span></code></td><td class="doc"><p>get GC stats from the beginning of the program</p></td></tr><tr id="type-since.PreviousStats" class="anchored"><td class="def constructor"><a href="#type-since.PreviousStats" class="anchor"></a><code>| </code><code><span class="constructor">PreviousStats</span> <span class="keyword">of</span> <a href="index.html#type-t">t</a></code></td><td class="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><dt class="spec value" id="val-get"><a href="#val-get" class="anchor"></a><code><span class="keyword">val</span> get : <span>since:<a href="index.html#type-since">since</a></span> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-log"><a href="#val-log" class="anchor"></a><code><span class="keyword">val</span> log : <span>name:string</span> <span>&#45;&gt;</span> <a href="../../IBase/Logging/index.html#type-debug_kind">L.debug_kind</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt><dd><p>log to infer's log file and to Scuba</p></dd></dl><dl><dt class="spec value" id="val-log_aggregate"><a href="#val-log_aggregate" class="anchor"></a><code><span class="keyword">val</span> log_aggregate : <span>prefix:string</span> <span>&#45;&gt;</span> <a href="../../IBase/Logging/index.html#type-debug_kind">L.debug_kind</a> <span>&#45;&gt;</span> <span><a href="index.html#type-t">t</a> list</span> <span>&#45;&gt;</span> unit</code></dt><dd><p>log aggregate to infer's log file and to Scuba</p></dd></dl><dl><dt class="spec value" id="val-log_f"><a href="#val-log_f" class="anchor"></a><code><span class="keyword">val</span> log_f : <span>name:string</span> <span>&#45;&gt;</span> <a href="../../IBase/Logging/index.html#type-debug_kind">L.debug_kind</a> <span>&#45;&gt;</span> <span>(unit <span>&#45;&gt;</span> <span class="type-var">'a</span>)</span> <span>&#45;&gt;</span> <span class="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>