This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE html>
<htmlxmlns="http://www.w3.org/1999/xhtml"><head><title>Backend__BackendStats (infer.Backend__BackendStats)</title><linkrel="stylesheet"href="../../odoc.css"/><metacharset="utf-8"/><metaname="generator"content="odoc 1.5.0"/><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>» Backend__BackendStats</nav><h1>Module <code>Backend__BackendStats</code></h1></header><aside><p>collect statistics about backend/analysis operations</p></aside><dl><dtclass="spec type"id="type-t"><ahref="#type-t"class="anchor"></a><code><spanclass="keyword">type</span> t</code></dt></dl><dl><dtclass="spec value"id="val-initial"><ahref="#val-initial"class="anchor"></a><code><spanclass="keyword">val</span> initial : <ahref="index.html#type-t">t</a></code></dt><dtclass="spec value"id="val-incr_summary_file_try_load"><ahref="#val-incr_summary_file_try_load"class="anchor"></a><code><spanclass="keyword">val</span> incr_summary_file_try_load : unit <span>-></span> unit</code></dt><dd><p>a query to the filesystem attempting to load a summary file</p></dd></dl><dl><dtclass="spec value"id="val-incr_summary_read_from_disk"><ahref="#val-incr_summary_read_from_disk"class="anchor"></a><code><spanclass="keyword">val</span> incr_summary_read_from_disk : unit <span>-></span> unit</code></dt><dd><p>a summary file is deserialized from disk</p></dd></dl><dl><dtclass="spec value"id="val-incr_summary_cache_hits"><ahref="#val-incr_summary_cache_hits"class="anchor"></a><code><spanclass="keyword">val</span> incr_summary_cache_hits : unit <span>-></span> unit</code></dt><dtclass="spec value"id="val-incr_summary_cache_misses"><ahref="#val-incr_summary_cache_misses"class="anchor"></a><code><spanclass="keyword">val</span> incr_summary_cache_misses : unit <span>-></span> unit</code></dt><dtclass="spec value"id="val-incr_ondemand_procs_analyzed"><ahref="#val-incr_ondemand_procs_analyzed"class="anchor"></a><code><spanclass="keyword">val</span> incr_ondemand_procs_analyzed : unit <span>-></span> unit</code></dt><dtclass="spec value"id="val-incr_ondemand_local_cache_hits"><ahref="#val-incr_ondemand_local_cache_hits"class="anchor"></a><code><spanclass="keyword">val</span> incr_ondemand_local_cache_hits : unit <span>-></span> unit</code></dt><dtclass="spec value"id="val-incr_ondemand_local_cache_misses"><ahref="#val-incr_ondemand_local_cache_misses"class="anchor"></a><code><spanclass="keyword">val</span> incr_ondemand_local_cache_misses : unit <span>-></span> unit</code></dt><dtclass="spec value"id="val-add_to_proc_locker_lock_time"><ahref="#val-add_to_proc_locker_lock_time"class="anchor"></a><code><spanclass="keyword">val</span> add_to_proc_locker_lock_time : <ahref="../Backend/ExecutionDuration/index.html#type-t">Backend.ExecutionDuration.t</a><span>-></span> unit</code></dt><dtclass="spec value"id="val-add_to_proc_locker_unlock_time"><ahref="#val-add_to_proc_locker_unlock_time"class="anchor"></a><code><spanclass="keyword">val</span> add_to_proc_locker_unlock_time : <ahref="../Backend/ExecutionDuration/index.html#type-t">Backend.ExecutionDuration.t</a><span>-></span> unit</code></dt><dtclass="spec value"id="val-add_to_restart_scheduler_total_time"><ahref="#val-add_to_restart_scheduler_total_time"class="anchor"></a><code><spanclass="keyword">val</span> add_to_restart_scheduler_total_time : <ahref="../Backend/ExecutionDuration/index.html#type-t">Backend.ExecutionDuration.t</a><span>-></span> unit</code></dt><dtclass="spec value"id="val-add_to_restart_scheduler_useful_time"><ahref="#val-add_to_restart_scheduler_useful_time"class="anchor"></a><code><spanclass="keyword">val</span> add_to_restart_scheduler_useful_time : <ahref="../Backend/ExecutionDuration/index.html#type-t">Backend.ExecutionDuration.t</a><span>-></span> unit</code></dt><dtclass="spec value"id="val-set_analysis_time"><ahref="#val-set_analysis_time"class="anchor"></a><code><spanclass="keyword">val</span> set_analysis_time : <ahref="index.html#type-t">t</a><span>-></span><ahref="../Backend/ExecutionDuration/index.html#type-t">Backend.ExecutionDuration.t</a><span>-></span> unit</code></dt><dtclass="spec value"id="val-reset"><ahref="#val-reset"class="anchor"></a><code><spanclass="keyword">val</span> reset : unit <span>-></span> unit</code></dt><dd><p>reset all stats</p></dd></dl><dl><dtclass="spec value"id="val-get"><ahref="#val-get"class="anchor"></a><code><spanclass="keyword">val</span> get : unit <span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>get the stats so far</p></dd></dl><dl><dtclass="spec value"id="val-pp"><ahref="#val-pp"class="anchor"></a><code><spanclass="keyword">val</span> pp : Stdlib.Format.formatter <span>-></span><ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dtclass="spec value"id="val-merge"><ahref="#val-merge"class="anchor"></a><code><spanclass="keyword">val</span> merge : <ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a><span>-></span><ahref="index.html#type-t">t</a></code></dt><dd><p>return a new value that adds up the stats in both arguments</p></dd></dl><dl><dtclass="spec value"id="val-log_to_scuba"><ahref="#val-log_to_scuba"class="anchor"></a><code><spanclass="keyword">val</span> log_to_scuba : <ahref="index.html#type-t">t</a><span>-></span> unit</code></dt><dd><p>Log aggregated backend stats to Scuba. Use after the stats have been fully calculated</p></dd></dl></div></body></html>