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
18 KiB
2 lines
18 KiB
<!DOCTYPE html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>InferBase__EventLogger (InferBase.InferBase__EventLogger)</title><link rel="stylesheet" href="../../odoc.css"/><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><meta name="generator" content="doc-ock-html v1.0.0-1-g1fc9bf0"/></head><body><nav id="top"><a href="../index.html">Up</a> — <span class="package">package <a href="../index.html">InferBase</a></span></nav><header><h1><span class="keyword">Module</span> <span class="module-path">InferBase__EventLogger</span></h1></header><div class="spec type" id="type-analysis_issue"><a href="#type-analysis_issue" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>analysis_issue</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-analysis_issue.bug_kind" class="anchored"><td class="def field"><a href="#type-analysis_issue.bug_kind" class="anchor"></a><code>bug_kind : string;</code></td></tr><tr id="type-analysis_issue.bug_type" class="anchored"><td class="def field"><a href="#type-analysis_issue.bug_type" class="anchor"></a><code>bug_type : string;</code></td></tr><tr id="type-analysis_issue.clang_method_kind" class="anchored"><td class="def field"><a href="#type-analysis_issue.clang_method_kind" class="anchor"></a><code>clang_method_kind : string option;</code></td></tr><tr id="type-analysis_issue.exception_triggered_location" class="anchored"><td class="def field"><a href="#type-analysis_issue.exception_triggered_location" class="anchor"></a><code>exception_triggered_location : <a href="../InferBase/Logging/index.html#type-ocaml_pos">InferBase.Logging.ocaml_pos</a> option;</code></td></tr><tr id="type-analysis_issue.lang" class="anchored"><td class="def field"><a href="#type-analysis_issue.lang" class="anchor"></a><code>lang : string;</code></td></tr><tr id="type-analysis_issue.procedure_name" class="anchored"><td class="def field"><a href="#type-analysis_issue.procedure_name" class="anchor"></a><code>procedure_name : string;</code></td></tr><tr id="type-analysis_issue.source_location" class="anchored"><td class="def field"><a href="#type-analysis_issue.source_location" class="anchor"></a><code>source_location : <a href="../InferBase/Location/index.html#type-t">InferBase.Location.t</a>;</code></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-analysis_stats"><a href="#type-analysis_stats" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>analysis_stats</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-analysis_stats.analysis_nodes_visited" class="anchored"><td class="def field"><a href="#type-analysis_stats.analysis_nodes_visited" class="anchor"></a><code>analysis_nodes_visited : int;</code></td></tr><tr id="type-analysis_stats.analysis_status" class="anchored"><td class="def field"><a href="#type-analysis_stats.analysis_status" class="anchor"></a><code>analysis_status : <a href="../InferBase/SymOp/index.html#type-failure_kind">InferBase.SymOp.failure_kind</a> option;</code></td></tr><tr id="type-analysis_stats.analysis_total_nodes" class="anchored"><td class="def field"><a href="#type-analysis_stats.analysis_total_nodes" class="anchor"></a><code>analysis_total_nodes : int;</code></td></tr><tr id="type-analysis_stats.clang_method_kind" class="anchored"><td class="def field"><a href="#type-analysis_stats.clang_method_kind" class="anchor"></a><code>clang_method_kind : string option;</code></td></tr><tr id="type-analysis_stats.lang" class="anchored"><td class="def field"><a href="#type-analysis_stats.lang" class="anchor"></a><code>lang : string;</code></td></tr><tr id="type-analysis_stats.method_location" class="anchored"><td class="def field"><a href="#type-analysis_stats.method_location" class="anchor"></a><code>method_location : <a href="../InferBase/Location/index.html#type-t">InferBase.Location.t</a>;</code></td></tr><tr id="type-analysis_stats.method_name" class="anchored"><td class="def field"><a href="#type-analysis_stats.method_name" class="anchor"></a><code>method_name : string;</code></td></tr><tr id="type-analysis_stats.num_preposts" class="anchored"><td class="def field"><a href="#type-analysis_stats.num_preposts" class="anchor"></a><code>num_preposts : int;</code></td></tr><tr id="type-analysis_stats.symops" class="anchored"><td class="def field"><a href="#type-analysis_stats.symops" class="anchor"></a><code>symops : int;</code></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-call_trace"><a href="#type-call_trace" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>call_trace</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-call_trace.call_location" class="anchored"><td class="def field"><a href="#type-call_trace.call_location" class="anchor"></a><code>call_location : <a href="../InferBase/Location/index.html#type-t">InferBase.Location.t</a>;</code></td></tr><tr id="type-call_trace.call_result" class="anchored"><td class="def field"><a href="#type-call_trace.call_result" class="anchor"></a><code>call_result : string;</code></td></tr><tr id="type-call_trace.callee_clang_method_kind" class="anchored"><td class="def field"><a href="#type-call_trace.callee_clang_method_kind" class="anchor"></a><code>callee_clang_method_kind : string option;</code></td></tr><tr id="type-call_trace.callee_source_file" class="anchored"><td class="def field"><a href="#type-call_trace.callee_source_file" class="anchor"></a><code>callee_source_file : <a href="../InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> option;</code></td></tr><tr id="type-call_trace.callee_name" class="anchored"><td class="def field"><a href="#type-call_trace.callee_name" class="anchor"></a><code>callee_name : string;</code></td></tr><tr id="type-call_trace.caller_name" class="anchored"><td class="def field"><a href="#type-call_trace.caller_name" class="anchor"></a><code>caller_name : string;</code></td></tr><tr id="type-call_trace.lang" class="anchored"><td class="def field"><a href="#type-call_trace.lang" class="anchor"></a><code>lang : string;</code></td></tr><tr id="type-call_trace.reason" class="anchored"><td class="def field"><a href="#type-call_trace.reason" class="anchor"></a><code>reason : string option;</code></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-frontend_exception"><a href="#type-frontend_exception" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>frontend_exception</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-frontend_exception.ast_node" class="anchored"><td class="def field"><a href="#type-frontend_exception.ast_node" class="anchor"></a><code>ast_node : string option;</code></td></tr><tr id="type-frontend_exception.exception_triggered_location" class="anchored"><td class="def field"><a href="#type-frontend_exception.exception_triggered_location" class="anchor"></a><code>exception_triggered_location : <a href="../InferBase/Logging/index.html#type-ocaml_pos">InferBase.Logging.ocaml_pos</a>;</code></td></tr><tr id="type-frontend_exception.exception_type" class="anchored"><td class="def field"><a href="#type-frontend_exception.exception_type" class="anchor"></a><code>exception_type : string;</code></td></tr><tr id="type-frontend_exception.lang" class="anchored"><td class="def field"><a href="#type-frontend_exception.lang" class="anchor"></a><code>lang : string;</code></td></tr><tr id="type-frontend_exception.source_location_start" class="anchored"><td class="def field"><a href="#type-frontend_exception.source_location_start" class="anchor"></a><code>source_location_start : <a href="../InferBase/Location/index.html#type-t">InferBase.Location.t</a>;</code></td></tr><tr id="type-frontend_exception.source_location_end" class="anchored"><td class="def field"><a href="#type-frontend_exception.source_location_end" class="anchor"></a><code>source_location_end : <a href="../InferBase/Location/index.html#type-t">InferBase.Location.t</a>;</code></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-mem_perf"><a href="#type-mem_perf" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>mem_perf</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-mem_perf.minor_heap_mem" class="anchored"><td class="def field"><a href="#type-mem_perf.minor_heap_mem" class="anchor"></a><code>minor_heap_mem : float;</code></td></tr><tr id="type-mem_perf.promoted_minor_heap_mem" class="anchored"><td class="def field"><a href="#type-mem_perf.promoted_minor_heap_mem" class="anchor"></a><code>promoted_minor_heap_mem : float;</code></td></tr><tr id="type-mem_perf.major_heap_mem" class="anchored"><td class="def field"><a href="#type-mem_perf.major_heap_mem" class="anchor"></a><code>major_heap_mem : float;</code></td></tr><tr id="type-mem_perf.total_allocated_mem" class="anchored"><td class="def field"><a href="#type-mem_perf.total_allocated_mem" class="anchor"></a><code>total_allocated_mem : float;</code></td></tr><tr id="type-mem_perf.minor_collections" class="anchored"><td class="def field"><a href="#type-mem_perf.minor_collections" class="anchor"></a><code>minor_collections : int;</code></td></tr><tr id="type-mem_perf.major_collections" class="anchored"><td class="def field"><a href="#type-mem_perf.major_collections" class="anchor"></a><code>major_collections : int;</code></td></tr><tr id="type-mem_perf.heap_compactions" class="anchored"><td class="def field"><a href="#type-mem_perf.heap_compactions" class="anchor"></a><code>heap_compactions : int;</code></td></tr><tr id="type-mem_perf.top_heap_size" class="anchored"><td class="def field"><a href="#type-mem_perf.top_heap_size" class="anchor"></a><code>top_heap_size : int;</code></td></tr><tr id="type-mem_perf.stack_size" class="anchored"><td class="def field"><a href="#type-mem_perf.stack_size" class="anchor"></a><code>stack_size : int;</code></td></tr><tr id="type-mem_perf.minor_heap_size" class="anchored"><td class="def field"><a href="#type-mem_perf.minor_heap_size" class="anchor"></a><code>minor_heap_size : int;</code></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-time_perf"><a href="#type-time_perf" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>time_perf</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-time_perf.real_time" class="anchored"><td class="def field"><a href="#type-time_perf.real_time" class="anchor"></a><code>real_time : float;</code></td></tr><tr id="type-time_perf.user_time" class="anchored"><td class="def field"><a href="#type-time_perf.user_time" class="anchor"></a><code>user_time : float;</code></td></tr><tr id="type-time_perf.sys_time" class="anchored"><td class="def field"><a href="#type-time_perf.sys_time" class="anchor"></a><code>sys_time : float;</code></td></tr><tr id="type-time_perf.children_user_time" class="anchored"><td class="def field"><a href="#type-time_perf.children_user_time" class="anchor"></a><code>children_user_time : float;</code></td></tr><tr id="type-time_perf.children_sys_time" class="anchored"><td class="def field"><a href="#type-time_perf.children_sys_time" class="anchor"></a><code>children_sys_time : float;</code></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-performance_stats"><a href="#type-performance_stats" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>performance_stats</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-performance_stats.lang" class="anchored"><td class="def field"><a href="#type-performance_stats.lang" class="anchor"></a><code>lang : string;</code></td></tr><tr id="type-performance_stats.source_file" class="anchored"><td class="def field"><a href="#type-performance_stats.source_file" class="anchor"></a><code>source_file : <a href="../InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a> option;</code></td></tr><tr id="type-performance_stats.stats_type" class="anchored"><td class="def field"><a href="#type-performance_stats.stats_type" class="anchor"></a><code>stats_type : string;</code></td></tr><tr id="type-performance_stats.mem_perf" class="anchored"><td class="def field"><a href="#type-performance_stats.mem_perf" class="anchor"></a><code>mem_perf : <a href="index.html#type-mem_perf">mem_perf</a> option;</code></td></tr><tr id="type-performance_stats.time_perf" class="anchored"><td class="def field"><a href="#type-performance_stats.time_perf" class="anchor"></a><code>time_perf : <a href="index.html#type-time_perf">time_perf</a> option;</code></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-procedures_translated"><a href="#type-procedures_translated" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>procedures_translated</code><code></code><code><span class="keyword"> = </span></code><code>{</code><table class="record"><tr id="type-procedures_translated.lang" class="anchored"><td class="def field"><a href="#type-procedures_translated.lang" class="anchor"></a><code>lang : string;</code></td></tr><tr id="type-procedures_translated.procedures_translated_failed" class="anchored"><td class="def field"><a href="#type-procedures_translated.procedures_translated_failed" class="anchor"></a><code>procedures_translated_failed : int;</code></td></tr><tr id="type-procedures_translated.procedures_translated_total" class="anchored"><td class="def field"><a href="#type-procedures_translated.procedures_translated_total" class="anchor"></a><code>procedures_translated_total : int;</code></td></tr><tr id="type-procedures_translated.source_file" class="anchored"><td class="def field"><a href="#type-procedures_translated.source_file" class="anchor"></a><code>source_file : <a href="../InferBase/SourceFile/index.html#type-t">InferBase.SourceFile.t</a>;</code></td></tr></table><code>}</code><code></code></div><div class="doc"></div></div><div class="spec type" id="type-event"><a href="#type-event" class="anchor"></a><div class="def type"><code><span class="keyword">type </span>event</code><code></code><code><span class="keyword"> = </span></code><table class="variant"><tr id="type-event.AnalysisIssue" class="anchored"><td class="def constructor"><a href="#type-event.AnalysisIssue" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">AnalysisIssue</span><span class="keyword"> of </span><a href="index.html#type-analysis_issue">analysis_issue</a></code></td></tr><tr id="type-event.AnalysisStats" class="anchored"><td class="def constructor"><a href="#type-event.AnalysisStats" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">AnalysisStats</span><span class="keyword"> of </span><a href="index.html#type-analysis_stats">analysis_stats</a></code></td></tr><tr id="type-event.CallTrace" class="anchored"><td class="def constructor"><a href="#type-event.CallTrace" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">CallTrace</span><span class="keyword"> of </span><a href="index.html#type-call_trace">call_trace</a></code></td></tr><tr id="type-event.FrontendException" class="anchored"><td class="def constructor"><a href="#type-event.FrontendException" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">FrontendException</span><span class="keyword"> of </span><a href="index.html#type-frontend_exception">frontend_exception</a></code></td></tr><tr id="type-event.PerformanceStats" class="anchored"><td class="def constructor"><a href="#type-event.PerformanceStats" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">PerformanceStats</span><span class="keyword"> of </span><a href="index.html#type-performance_stats">performance_stats</a></code></td></tr><tr id="type-event.ProceduresTranslatedSummary" class="anchored"><td class="def constructor"><a href="#type-event.ProceduresTranslatedSummary" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">ProceduresTranslatedSummary</span><span class="keyword"> of </span><a href="index.html#type-procedures_translated">procedures_translated</a></code></td></tr><tr id="type-event.UncaughtException" class="anchored"><td class="def constructor"><a href="#type-event.UncaughtException" class="anchor"></a><code><span class="keyword">| </span></code><code><span class="constructor">UncaughtException</span><span class="keyword"> of </span>exn<span class="keyword"> * </span>int</code></td><td class="doc"><p>(** exception, exitcode *)</p></td></tr></table><code></code></div><div class="doc"></div></div><div class="spec val" id="val-get_log_identifier"><a href="#val-get_log_identifier" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>get_log_identifier : unit <span class="keyword">‑></span> string</code></div><div class="doc"></div></div><div class="spec val" id="val-prepare"><a href="#val-prepare" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>prepare : unit <span class="keyword">‑></span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-log"><a href="#val-log" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>log : <a href="index.html#type-event">event</a> <span class="keyword">‑></span> unit</code></div><div class="doc"></div></div><div class="spec val" id="val-dump"><a href="#val-dump" class="anchor"></a><div class="def val"><code><span class="keyword">val </span>dump : unit <span class="keyword">‑></span> unit</code></div><div class="doc"></div></div></body></html> |