mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-09 12:23:32 -04:00
2 lines
1.2 KiB
HTML
2 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
||
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Time_util (trace.Trace_util.Time_util)</title><meta charset="utf-8"/><link rel="stylesheet" href="../../../_odoc-theme/odoc.css"/><meta name="generator" content="odoc 3.1.0"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/><script src="../../../highlight.pack.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body class="odoc"><nav class="odoc-nav"><a href="../index.html">Up</a> – <a href="../../../index.html">Index</a> » <a href="../../index.html">trace</a> » <a href="../index.html">Trace_util</a> » Time_util</nav><header class="odoc-preamble"><h1>Module <code><span>Trace_util.Time_util</span></code></h1></header><div class="odoc-content"><div class="odoc-spec"><div class="spec value anchored" id="val-get_time_ns"><a href="#val-get_time_ns" class="anchor"></a><code><span><span class="keyword">val</span> get_time_ns : <span>unit <span class="arrow">-></span></span> int64</span></code></div><div class="spec-doc"><p>Get current time in nanoseconds. The beginning point is unspecified, and this is assumed to be best-effort monotonic. Ideally, use <code>mtime</code>.</p></div></div></div></body></html>
|