blob: 94336a26d1ed6830999aaf5cfa0921bb0abfa96a [file] [log] [blame]
<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Kudu C++ client API: kudu::MonoTime Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generated by Doxygen 1.6.1 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<img id="MSearchSelect" src="search/search.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</div>
</li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<div class="navpath"><b>kudu</b>::<a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a>
</div>
</div>
<div class="contents">
<h1>kudu::MonoTime Class Reference</h1><!-- doxytag: class="kudu::MonoTime" -->
<p>Representation of a particular point in time.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="monotime_8h_source.html">monotime.h</a>&gt;</code></p>
<p><a href="classkudu_1_1MonoTime-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#a8f49b7fd2e217b5541d4ce45bda63bd4">MonoTime</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#a4ba08bf71a2496672338522952301926">Initialized</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classkudu_1_1MonoDelta.html">MonoDelta</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#ae1a49263c54563ea72ea10033ab8ccdb">GetDeltaSince</a> (const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#a17dd3af0b55e8d19dc986101ba998de1">AddDelta</a> (const <a class="el" href="classkudu_1_1MonoDelta.html">MonoDelta</a> &amp;delta)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#a20b322e3ce700c15445943ec02255623">ComesBefore</a> (const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;rhs) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#a47cd514149a06d1fbf2d10d08ef29957">ToString</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#a25f2816574ca7f424b79644e30774818">Equals</a> (const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;other) const </td></tr>
<tr><td colspan="2"><div class="groupHeader">Syntactic sugar: increment/decrement operators for MonoTime.</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrp9ff7934cb5a5699d017de42321ecbf83"></a> Add a delta to the point in time represented by the object.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>delta</em>&nbsp;</td><td>The delta to add. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to the modified object. </dd></dl>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a017b8fce3205d1c9a936d96cc4a5b452"></a><!-- doxytag: member="kudu::MonoTime::operator+=" ref="a017b8fce3205d1c9a936d96cc4a5b452" args="(const MonoDelta &amp;delta)" -->
<a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>operator+=</b> (const <a class="el" href="classkudu_1_1MonoDelta.html">MonoDelta</a> &amp;delta)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#a2264cf528d0a346e60e0921022333bf8">operator-=</a> (const <a class="el" href="classkudu_1_1MonoDelta.html">MonoDelta</a> &amp;delta)</td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#a6c83d5c31e6ea5a869a655646f924783">Now</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#a28d08092b30ccefc5e45a6e228034ef9">Max</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#acf4fc0351fe9245431932e481e002b99">Min</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classkudu_1_1MonoTime.html#aa553eb3e11cae70a9ee8839a39fc7a14">Earliest</a> (const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;a, const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;b)</td></tr>
<tr><td colspan="2"><h2>Static Public Attributes</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Conversion constants for ubiquitous time units.</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p><a class="anchor" id="amgrpcd3bcdf01013feae16b4697651cb8bd9"></a> </p>
<br/><br/></div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a33db0c34f47f05d63bf2fddbff5b6b18"></a><!-- doxytag: member="kudu::MonoTime::kNanosecondsPerSecond" ref="a33db0c34f47f05d63bf2fddbff5b6b18" args="" -->
static const int64_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>kNanosecondsPerSecond</b> = 1000000000L</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2f5fba731df8ae202ffadf7c5c49ef7"></a><!-- doxytag: member="kudu::MonoTime::kNanosecondsPerMillisecond" ref="ab2f5fba731df8ae202ffadf7c5c49ef7" args="" -->
static const int64_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>kNanosecondsPerMillisecond</b> = 1000000L</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8df74187bdc60ef6192c0a4467ed9583"></a><!-- doxytag: member="kudu::MonoTime::kNanosecondsPerMicrosecond" ref="a8df74187bdc60ef6192c0a4467ed9583" args="" -->
static const int64_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>kNanosecondsPerMicrosecond</b> = 1000L</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad4b22e81d4c5bf23d2dc545f86865d9f"></a><!-- doxytag: member="kudu::MonoTime::kMicrosecondsPerSecond" ref="ad4b22e81d4c5bf23d2dc545f86865d9f" args="" -->
static const int64_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>kMicrosecondsPerSecond</b> = 1000000L</td></tr>
<tr><td colspan="2"><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad1cb31436a9f10ed819de0dd68405766"></a><!-- doxytag: member="kudu::MonoTime::MonoDelta" ref="ad1cb31436a9f10ed819de0dd68405766" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><b>MonoDelta</b></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Representation of a particular point in time. </p>
<p>The <a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> class represents a particular point in time, relative to some fixed but unspecified reference point.</p>
<p>This time is monotonic, meaning that if the user changes his or her system clock, the monotime does not change. </p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a8f49b7fd2e217b5541d4ce45bda63bd4"></a><!-- doxytag: member="kudu::MonoTime::MonoTime" ref="a8f49b7fd2e217b5541d4ce45bda63bd4" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">kudu::MonoTime::MonoTime </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Build a <a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> object. The resulting object is not initialized and not ready to use. </p>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a17dd3af0b55e8d19dc986101ba998de1"></a><!-- doxytag: member="kudu::MonoTime::AddDelta" ref="a17dd3af0b55e8d19dc986101ba998de1" args="(const MonoDelta &amp;delta)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void kudu::MonoTime::AddDelta </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classkudu_1_1MonoDelta.html">MonoDelta</a> &amp;&nbsp;</td>
<td class="paramname"> <em>delta</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Advance this object's time specification by the specified interval.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>delta</em>&nbsp;</td><td>The time interval to add. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a20b322e3ce700c15445943ec02255623"></a><!-- doxytag: member="kudu::MonoTime::ComesBefore" ref="a20b322e3ce700c15445943ec02255623" args="(const MonoTime &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool kudu::MonoTime::ComesBefore </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;&nbsp;</td>
<td class="paramname"> <em>rhs</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Check whether the point in time specified by this object is earlier than the specified one.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>rhs</em>&nbsp;</td><td>The other <a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> object to compare with. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> iff the point in time represented by this <a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> object is earlier then the point in time represented by the parameter. </dd></dl>
</div>
</div>
<a class="anchor" id="aa553eb3e11cae70a9ee8839a39fc7a14"></a><!-- doxytag: member="kudu::MonoTime::Earliest" ref="aa553eb3e11cae70a9ee8839a39fc7a14" args="(const MonoTime &amp;a, const MonoTime &amp;b)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a>&amp; kudu::MonoTime::Earliest </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;&nbsp;</td>
<td class="paramname"> <em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;&nbsp;</td>
<td class="paramname"> <em>b</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Select the earliest between the specified time points.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>a</em>&nbsp;</td><td>The first <a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> object to select from. </td></tr>
<tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>b</em>&nbsp;</td><td>The second <a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> object to select from. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The earliest (minimum) of the two monotimes. </dd></dl>
</div>
</div>
<a class="anchor" id="a25f2816574ca7f424b79644e30774818"></a><!-- doxytag: member="kudu::MonoTime::Equals" ref="a25f2816574ca7f424b79644e30774818" args="(const MonoTime &amp;other) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool kudu::MonoTime::Equals </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;&nbsp;</td>
<td class="paramname"> <em>other</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Check whether this object represents the same point in time as the other.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>other</em>&nbsp;</td><td>The other <a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> object to compare. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> iff the point in time represented by this <a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> object is the same as the one represented by the other. </dd></dl>
</div>
</div>
<a class="anchor" id="ae1a49263c54563ea72ea10033ab8ccdb"></a><!-- doxytag: member="kudu::MonoTime::GetDeltaSince" ref="ae1a49263c54563ea72ea10033ab8ccdb" args="(const MonoTime &amp;rhs) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classkudu_1_1MonoDelta.html">MonoDelta</a> kudu::MonoTime::GetDeltaSince </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> &amp;&nbsp;</td>
<td class="paramname"> <em>rhs</em></td>
<td>&nbsp;)&nbsp;</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Compute time interval between the point in time specified by this and the specified object.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>rhs</em>&nbsp;</td><td>The object that corresponds to the left boundary of the time interval, where this object corresponds to the right boundary of the interval. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The resulting time interval represented as a <a class="el" href="classkudu_1_1MonoDelta.html" title="A representation of a time interval.">MonoDelta</a> object. </dd></dl>
</div>
</div>
<a class="anchor" id="a4ba08bf71a2496672338522952301926"></a><!-- doxytag: member="kudu::MonoTime::Initialized" ref="a4ba08bf71a2496672338522952301926" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool kudu::MonoTime::Initialized </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><code>true</code> iff the object is initialized. </dd></dl>
</div>
</div>
<a class="anchor" id="a28d08092b30ccefc5e45a6e228034ef9"></a><!-- doxytag: member="kudu::MonoTime::Max" ref="a28d08092b30ccefc5e45a6e228034ef9" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> kudu::MonoTime::Max </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> equal to farthest possible time into the future. </dd></dl>
</div>
</div>
<a class="anchor" id="acf4fc0351fe9245431932e481e002b99"></a><!-- doxytag: member="kudu::MonoTime::Min" ref="acf4fc0351fe9245431932e481e002b99" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> kudu::MonoTime::Min </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd><a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> equal to farthest possible time into the past. </dd></dl>
</div>
</div>
<a class="anchor" id="a6c83d5c31e6ea5a869a655646f924783"></a><!-- doxytag: member="kudu::MonoTime::Now" ref="a6c83d5c31e6ea5a869a655646f924783" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a> kudu::MonoTime::Now </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Get current time in <a class="el" href="classkudu_1_1MonoTime.html" title="Representation of a particular point in time.">MonoTime</a> representation.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Time specification for the moment of the method's invocation. </dd></dl>
</div>
</div>
<a class="anchor" id="a2264cf528d0a346e60e0921022333bf8"></a><!-- doxytag: member="kudu::MonoTime::operator&#45;=" ref="a2264cf528d0a346e60e0921022333bf8" args="(const MonoDelta &amp;delta)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classkudu_1_1MonoTime.html">MonoTime</a>&amp; kudu::MonoTime::operator-= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classkudu_1_1MonoDelta.html">MonoDelta</a> &amp;&nbsp;</td>
<td class="paramname"> <em>delta</em></td>
<td>&nbsp;)&nbsp;</td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Substract a delta from the point in time represented by the object.</p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt>&nbsp;</td><td valign="top"><em>delta</em>&nbsp;</td><td>The delta to substract. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>Reference to the modified object. </dd></dl>
</div>
</div>
<a class="anchor" id="a47cd514149a06d1fbf2d10d08ef29957"></a><!-- doxytag: member="kudu::MonoTime::ToString" ref="a47cd514149a06d1fbf2d10d08ef29957" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string kudu::MonoTime::ToString </td>
<td>(</td>
<td class="paramname"></td>
<td>&nbsp;)&nbsp;</td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>String representation of the object (in seconds). </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/kudu/util/<a class="el" href="monotime_8h_source.html">monotime.h</a></li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&nbsp;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&nbsp;</span>Defines</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<!-- start footer part -->
<hr class="footer"/>
<address class="footer">
<small>Generated for Kudu version 1.0.1 on Tue Oct 11 08:52:01 2016 by Doxygen 1.6.1</small>
<br>
<small>Copyright © 2016 The Apache Software Foundation.</small>
</address>
</body>
</html>