Current section

Files

Jump to
cloudi_core doc cloudi_timestamp.html
Raw

doc/cloudi_timestamp.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Module cloudi_timestamp</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
</head>
<body bgcolor="white">
<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<hr>
<h1>Module cloudi_timestamp</h1>
<ul class="index"><li><a href="#description">Description</a></li><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>
<h3><a name="Timestamp_operations">Timestamp operations</a></h3>.
<p>Copyright © 2015-2016 Michael Truog</p>
<p><b>Version:</b> 1.5.5 Jan 10 2017 17:28:00
------------------------------------------------------------------------</p>
<p><b>Authors:</b> Michael Truog (<a href="mailto:mjtruog [at] gmail (dot) com"><tt>mjtruog [at] gmail (dot) com</tt></a>).</p>
<h2><a name="description">Description</a></h2>
<h3><a name="Timestamp_operations">Timestamp operations</a></h3>
<h2><a name="index">Function Index</a></h2>
<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#microseconds-0">microseconds/0</a></td><td>
<h4><a name="Microseconds_since_the_UNIX_epoch.">Microseconds since the UNIX epoch.</a></h4>
(The UNIX epoch is 1970-01-01T00:00:00).</td></tr>
<tr><td valign="top"><a href="#microseconds_os-0">microseconds_os/0</a></td><td>
<h4><a name="Microseconds_since_an_undefined_point_in_time,_from_the_hardware.">Microseconds since an undefined point in time, from the hardware.</a></h4>.</td></tr>
<tr><td valign="top"><a href="#milliseconds-0">milliseconds/0</a></td><td>
<h4><a name="Milliseconds_since_the_UNIX_epoch.">Milliseconds since the UNIX epoch.</a></h4>
(The UNIX epoch is 1970-01-01T00:00:00).</td></tr>
<tr><td valign="top"><a href="#milliseconds_os-0">milliseconds_os/0</a></td><td>
<h4><a name="Milliseconds_since_an_undefined_point_in_time,_from_the_hardware.">Milliseconds since an undefined point in time, from the hardware.</a></h4>.</td></tr>
<tr><td valign="top"><a href="#seconds-0">seconds/0</a></td><td>
<h4><a name="Seconds_since_the_UNIX_epoch.">Seconds since the UNIX epoch.</a></h4>
(The UNIX epoch is 1970-01-01T00:00:00).</td></tr>
<tr><td valign="top"><a href="#seconds_filter-3">seconds_filter/3</a></td><td>
<h4><a name="Filter_a_list_of_seconds_since_the_UNIX_epoch..">Filter a list of seconds since the UNIX epoch..</a></h4>
The list is not ordered.</td></tr>
<tr><td valign="top"><a href="#seconds_os-0">seconds_os/0</a></td><td>
<h4><a name="Seconds_since_an_undefined_point_in_time,_from_the_hardware.">Seconds since an undefined point in time, from the hardware.</a></h4>.</td></tr>
<tr><td valign="top"><a href="#timestamp-0">timestamp/0</a></td><td>
<h4><a name="Return_an_Erlang_VM_timestamp.">Return an Erlang VM timestamp.</a></h4>
Not guaranteed to be strictly monotonically increasing
(on Erlang &gt;= 18.0).</td></tr>
</table>
<h2><a name="functions">Function Details</a></h2>
<h3 class="function"><a name="microseconds-0">microseconds/0</a></h3>
<div class="spec">
<p><tt>microseconds() -&gt; non_neg_integer()</tt><br></p>
</div><p>
<h4><a name="Microseconds_since_the_UNIX_epoch.">Microseconds since the UNIX epoch.</a></h4>
(The UNIX epoch is 1970-01-01T00:00:00)</p>
<h3 class="function"><a name="microseconds_os-0">microseconds_os/0</a></h3>
<div class="spec">
<p><tt>microseconds_os() -&gt; non_neg_integer()</tt><br></p>
</div><p>
<h4><a name="Microseconds_since_an_undefined_point_in_time,_from_the_hardware.">Microseconds since an undefined point in time, from the hardware.</a></h4>
</p>
<h3 class="function"><a name="milliseconds-0">milliseconds/0</a></h3>
<div class="spec">
<p><tt>milliseconds() -&gt; non_neg_integer()</tt><br></p>
</div><p>
<h4><a name="Milliseconds_since_the_UNIX_epoch.">Milliseconds since the UNIX epoch.</a></h4>
(The UNIX epoch is 1970-01-01T00:00:00)</p>
<h3 class="function"><a name="milliseconds_os-0">milliseconds_os/0</a></h3>
<div class="spec">
<p><tt>milliseconds_os() -&gt; non_neg_integer()</tt><br></p>
</div><p>
<h4><a name="Milliseconds_since_an_undefined_point_in_time,_from_the_hardware.">Milliseconds since an undefined point in time, from the hardware.</a></h4>
</p>
<h3 class="function"><a name="seconds-0">seconds/0</a></h3>
<div class="spec">
<p><tt>seconds() -&gt; non_neg_integer()</tt><br></p>
</div><p>
<h4><a name="Seconds_since_the_UNIX_epoch.">Seconds since the UNIX epoch.</a></h4>
(The UNIX epoch is 1970-01-01T00:00:00)</p>
<h3 class="function"><a name="seconds_filter-3">seconds_filter/3</a></h3>
<div class="spec">
<p><tt>seconds_filter(L::[non_neg_integer()], SecondsNow::non_neg_integer(), MaxPeriod::pos_integer()) -&gt; {Count::non_neg_integer(), NewL::[non_neg_integer()]}</tt><br></p>
</div><p>
<h4><a name="Filter_a_list_of_seconds_since_the_UNIX_epoch..">Filter a list of seconds since the UNIX epoch..</a></h4>
The list is not ordered.</p>
<h3 class="function"><a name="seconds_os-0">seconds_os/0</a></h3>
<div class="spec">
<p><tt>seconds_os() -&gt; non_neg_integer()</tt><br></p>
</div><p>
<h4><a name="Seconds_since_an_undefined_point_in_time,_from_the_hardware.">Seconds since an undefined point in time, from the hardware.</a></h4>
</p>
<h3 class="function"><a name="timestamp-0">timestamp/0</a></h3>
<div class="spec">
<p><tt>timestamp() -&gt; <a href="erlang.html#type-timestamp">erlang:timestamp()</a></tt><br></p>
</div><p>
<h4><a name="Return_an_Erlang_VM_timestamp.">Return an Erlang VM timestamp.</a></h4>
Not guaranteed to be strictly monotonically increasing
(on Erlang &gt;= 18.0).</p>
<hr>
<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
<p><i>Generated by EDoc, Jan 10 2017, 17:28:00.</i></p>
</body>
</html>