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

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CostDomain (infer.Costlib.CostDomain)</title><link rel="stylesheet" href="../../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.1"/><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">Costlib</a> &#x00BB; CostDomain</nav><h1>Module <code>Costlib.CostDomain</code></h1></header><div class="spec module" id="module-F"><a href="#module-F" class="anchor"></a><code><span class="keyword">module</span> F = Stdlib.Format</code></div><div class="spec module" id="module-BasicCost"><a href="#module-BasicCost" class="anchor"></a><code><span class="keyword">module</span> <a href="BasicCost/index.html">BasicCost</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-BasicCostWithReason"><a href="#module-BasicCostWithReason" class="anchor"></a><code><span class="keyword">module</span> <a href="BasicCostWithReason/index.html">BasicCostWithReason</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></code></div><div class="spec module" id="module-VariantCostMap"><a href="#module-VariantCostMap" class="anchor"></a><code><span class="keyword">module</span> <a href="VariantCostMap/index.html">VariantCostMap</a> : <span class="keyword">sig</span> ... <span class="keyword">end</span></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><code> = <a href="VariantCostMap/index.html#type-t">VariantCostMap.t</a></code></dt><dt class="spec type" id="type-summary"><a href="#type-summary" class="anchor"></a><code><span class="keyword">type</span> summary</code><code> = </code><code>{</code><table class="record"><tr id="type-summary.post" class="anchored"><td class="def field"><a href="#type-summary.post" class="anchor"></a><code>post : <a href="index.html#type-t">t</a>;</code></td></tr><tr id="type-summary.is_on_ui_thread" class="anchored"><td class="def field"><a href="#type-summary.is_on_ui_thread" class="anchor"></a><code>is_on_ui_thread : bool;</code></td></tr></table><code>}</code></dt></dl><dl><dt class="spec value" id="val-pp_summary"><a href="#val-pp_summary" class="anchor"></a><code><span class="keyword">val</span> pp_summary : <a href="index.html#module-F">F</a>.formatter <span>&#45;&gt;</span> <a href="index.html#type-summary">summary</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-get_cost_kind"><a href="#val-get_cost_kind" class="anchor"></a><code><span class="keyword">val</span> get_cost_kind : <a href="../../IBase/CostKind/index.html#type-t">IBase.CostKind.t</a> <span>&#45;&gt;</span> <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="BasicCostWithReason/index.html#type-t">BasicCostWithReason.t</a></code></dt><dt class="spec value" id="val-get_operation_cost"><a href="#val-get_operation_cost" class="anchor"></a><code><span class="keyword">val</span> get_operation_cost : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="BasicCostWithReason/index.html#type-t">BasicCostWithReason.t</a></code></dt><dt class="spec value" id="val-set_autoreleasepool_size_zero"><a href="#val-set_autoreleasepool_size_zero" class="anchor"></a><code><span class="keyword">val</span> set_autoreleasepool_size_zero : <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-set_operation_cost_zero"><a href="#val-set_operation_cost_zero" class="anchor"></a><code><span class="keyword">val</span> set_operation_cost_zero : <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-find_opt"><a href="#val-find_opt" class="anchor"></a><code><span class="k