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

This file contains ambiguous Unicode characters!

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>
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Backend__BackendStats (infer.Backend__BackendStats)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="generator" content="odoc 1.5.0"/><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__BackendStats</nav><h1>Module <code>Backend__BackendStats</code></h1></header><aside><p>collect statistics about backend/analysis operations</p></aside><dl><dt class="spec type" id="type-t"><a href="#type-t" class="anchor"></a><code><span class="keyword">type</span> t</code></dt></dl><dl><dt class="spec value" id="val-initial"><a href="#val-initial" class="anchor"></a><code><span class="keyword">val</span> initial : <a href="index.html#type-t">t</a></code></dt><dt class="spec value" id="val-incr_summary_file_try_load"><a href="#val-incr_summary_file_try_load" class="anchor"></a><code><span class="keyword">val</span> incr_summary_file_try_load : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>a query to the filesystem attempting to load a summary file</p></dd></dl><dl><dt class="spec value" id="val-incr_summary_read_from_disk"><a href="#val-incr_summary_read_from_disk" class="anchor"></a><code><span class="keyword">val</span> incr_summary_read_from_disk : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>a summary file is deserialized from disk</p></dd></dl><dl><dt class="spec value" id="val-incr_summary_cache_hits"><a href="#val-incr_summary_cache_hits" class="anchor"></a><code><span class="keyword">val</span> incr_summary_cache_hits : unit <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-incr_summary_cache_misses"><a href="#val-incr_summary_cache_misses" class="anchor"></a><code><span class="keyword">val</span> incr_summary_cache_misses : unit <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-incr_ondemand_procs_analyzed"><a href="#val-incr_ondemand_procs_analyzed" class="anchor"></a><code><span class="keyword">val</span> incr_ondemand_procs_analyzed : unit <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-incr_ondemand_local_cache_hits"><a href="#val-incr_ondemand_local_cache_hits" class="anchor"></a><code><span class="keyword">val</span> incr_ondemand_local_cache_hits : unit <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-incr_ondemand_local_cache_misses"><a href="#val-incr_ondemand_local_cache_misses" class="anchor"></a><code><span class="keyword">val</span> incr_ondemand_local_cache_misses : unit <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-add_to_proc_locker_lock_time"><a href="#val-add_to_proc_locker_lock_time" class="anchor"></a><code><span class="keyword">val</span> add_to_proc_locker_lock_time : <a href="../Backend/ExecutionDuration/index.html#type-t">Backend.ExecutionDuration.t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-add_to_proc_locker_unlock_time"><a href="#val-add_to_proc_locker_unlock_time" class="anchor"></a><code><span class="keyword">val</span> add_to_proc_locker_unlock_time : <a href="../Backend/ExecutionDuration/index.html#type-t">Backend.ExecutionDuration.t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-add_to_restart_scheduler_total_time"><a href="#val-add_to_restart_scheduler_total_time" class="anchor"></a><code><span class="keyword">val</span> add_to_restart_scheduler_total_time : <a href="../Backend/ExecutionDuration/index.html#type-t">Backend.ExecutionDuration.t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-add_to_restart_scheduler_useful_time"><a href="#val-add_to_restart_scheduler_useful_time" class="anchor"></a><code><span class="keyword">val</span> add_to_restart_scheduler_useful_time : <a href="../Backend/ExecutionDuration/index.html#type-t">Backend.ExecutionDuration.t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-set_analysis_time"><a href="#val-set_analysis_time" class="anchor"></a><code><span class="keyword">val</span> set_analysis_time : <a href="index.html#type-t">t</a> <span>&#45;&gt;</span> <a href="../Backend/ExecutionDuration/index.html#type-t">Backend.ExecutionDuration.t</a> <span>&#45;&gt;</span> unit</code></dt><dt class="spec value" id="val-reset"><a href="#val-reset" class="anchor"></a><code><span class="keyword">val</span> reset : unit <span>&#45;&gt;</span> unit</code></dt><dd><p>reset all stats</p></dd></dl><dl><dt class="spec value" id="val-get"><a href="#val-get" class="anchor"></a><code><span class="keyword">val</span> get : unit <span>&#45;&gt;</span> <a href="index.html#type-t">t</a></code></dt><dd><p>get the stats so far</p></dd></dl><dl><dt class="spec value" id="val-pp"><a href="#val-pp" class="anchor"></a><code><span class="keyword">val</span> pp : 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-merge"><a href="#val-merge" class="anchor"></a><code><span class="keyword">val</span> merge : <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><dd><p>return a new value that adds up the stats in both arguments</p></dd></dl><dl><dt class="spec value" id="val-log_to_scuba"><a href="#val-log_to_scuba" class="anchor"></a><code><span class="keyword">val</span> log_to_scuba : <a href="index.html#type-t">t</a> <span>&#45;&gt;</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>