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
4.4 KiB

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Backend__ExecutionDuration (infer.Backend__ExecutionDuration)</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; Backend__ExecutionDuration</nav><h1>Module <code>Backend__ExecutionDuration</code></h1></header><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-counter"><a href="#type-counter" class="anchor"></a><code><span class="keyword">type</span> counter</code></dt><dt class="spec type" id="type-evaluation_result"><a href="#type-evaluation_result" class="anchor"></a><code><span class="keyword">type</span> <span>'a evaluation_result</span></code><code> = </code><code>{</code><table class="record"><tr id="type-evaluation_result.result" class="anchored"><td class="def field"><a href="#type-evaluation_result.result" class="anchor"></a><code>result : <span class="type-var">'a</span>;</code></td></tr><tr id="type-evaluation_result.execution_duration" class="anchored"><td class="def field"><a href="#type-evaluation_result.execution_duration" class="anchor"></a><code>execution_duration : <a href="index.html#type-t">t</a>;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-zero"><a href="#val-zero" class="anchor"></a><code><span class="keyword">val</span> zero : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-counter"><a href="#val-counter" class="anchor"></a><code><span class="keyword">val</span> counter : unit <span>&#45;&gt;</span> <a href="index.html#type-counter">counter</a></code></dt><dt class="spec value" id="val-since"><a href="#val-since" class="anchor"></a><code><span class="keyword">val</span> since : <a href="index.html#type-counter">counter</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-add_duration_since"><a href="#val-add_duration_since" class="anchor"></a><code><span class="keyword">val</span> add_duration_since : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-counter">counter</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-add"><a href="#val-add" class="anchor"></a><code><span class="keyword">val</span> add : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-wall_time"><a href="#val-wall_time" class="anchor"></a><code><span class="keyword">val</span> wall_time : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> float</code></dt><dt class="spec value" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val</span> pp : <span>prefix:string</span> <span>&#45;&gt;</span> Stdlib.Format.formatter <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-timed_evaluate"><a href="#val-timed_evaluate" class="anchor"></a><code><span class="keyword">val</span> timed_evaluate : <span>f:<span>(unit <span>&#45;&gt;</span> <span class="type-var">'a</span>)</span></span> <span>&#45;&gt;</span> <span><span class="type-var">'a</span> <a href="index.html#type-evaluation_result">evaluation_result</a></span></code></dt><dt class="spec value" id="val-log"><a href="#val-log" class="anchor"></a><code><span class="keyword">val</span> log : <span>prefix:string</span> <span>&#45;&gt;</span> <a href="../IBase/Logging/index.html#type-debug_kind">IBase.Logging.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 debu