wut/group__coreinit__time.html
2019-04-22 10:21:17 +10:00

559 lines
29 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>wut: Time</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">wut
&#160;<span id="projectnumber">1.0.0-beta8</span>
</div>
<div id="projectbrief">Wii U Toolchain</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div class="header">
<div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> </div>
<div class="headertitle">
<div class="title">Time<div class="ingroups"><a class="el" href="group__coreinit.html">coreinit</a></div></div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:structOSCalendarTime"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#structOSCalendarTime">OSCalendarTime</a></td></tr>
<tr class="memdesc:structOSCalendarTime"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as std c struct tm but with msec and usec added. <a href="group__coreinit__time.html#structOSCalendarTime">More...</a><br /></td></tr>
<tr class="separator:structOSCalendarTime"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gaafdcfae39fd2307afcd1f1ff990d107e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>&#160;&#160;&#160;((<a class="el" href="group__coreinit__systeminfo.html#ga8fec93a3dcbb7b1665e081af10783968">OSGetSystemInfo</a>()-&gt;busClockSpeed) / 4)</td></tr>
<tr class="separator:gaafdcfae39fd2307afcd1f1ff990d107e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56f8387dc414ae566fe81fe6197af191"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga56f8387dc414ae566fe81fe6197af191">OSSecondsToTicks</a>(val)&#160;&#160;&#160;((uint64_t)(val) * (uint64_t)<a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>)</td></tr>
<tr class="separator:ga56f8387dc414ae566fe81fe6197af191"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3af64061ec6671a5297a1a049d21b95d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga3af64061ec6671a5297a1a049d21b95d">OSMillisecondsToTicks</a>(val)&#160;&#160;&#160;(((uint64_t)(val) * (uint64_t)<a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>) / 1000ull)</td></tr>
<tr class="separator:ga3af64061ec6671a5297a1a049d21b95d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga584e92fd516b71c29eced7027deae2bc"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga584e92fd516b71c29eced7027deae2bc">OSMicrosecondsToTicks</a>(val)&#160;&#160;&#160;(((uint64_t)(val) * (uint64_t)<a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>) / 1000000ull)</td></tr>
<tr class="separator:ga584e92fd516b71c29eced7027deae2bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf3a338c4d432612d3989e66a2467786a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#gaf3a338c4d432612d3989e66a2467786a">OSNanosecondsToTicks</a>(val)&#160;&#160;&#160;(((uint64_t)(val) * ((uint64_t)<a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>) / 31250ull) / 32000ull)</td></tr>
<tr class="separator:gaf3a338c4d432612d3989e66a2467786a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2941294bae034893f2dc7fdaf58afc42"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga2941294bae034893f2dc7fdaf58afc42">OSTicksToSeconds</a>(val)&#160;&#160;&#160;((uint64_t)(val) / (uint64_t)<a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>)</td></tr>
<tr class="separator:ga2941294bae034893f2dc7fdaf58afc42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae514d4f6a8f6d4d38ef172c3923fca83"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#gae514d4f6a8f6d4d38ef172c3923fca83">OSTicksToMilliseconds</a>(val)&#160;&#160;&#160;(((uint64_t)(val) * 1000ull) / (uint64_t)OSTimerClockSpeed)</td></tr>
<tr class="separator:gae514d4f6a8f6d4d38ef172c3923fca83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0953882bda32934e674efcfa12ed0041"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga0953882bda32934e674efcfa12ed0041">OSTicksToMicroseconds</a>(val)&#160;&#160;&#160;(((uint64_t)(val) * 1000000ull) / (uint64_t)OSTimerClockSpeed)</td></tr>
<tr class="separator:ga0953882bda32934e674efcfa12ed0041"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac830b302adc1dc65e80b400336a3273c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#gac830b302adc1dc65e80b400336a3273c">OSTicksToNanoseconds</a>(val)&#160;&#160;&#160;(((uint64_t)(val) * 32000ull) / ((uint64_t)OSTimerClockSpeed / 31250ull))</td></tr>
<tr class="separator:gac830b302adc1dc65e80b400336a3273c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga3d2dd4b82471f30d5bb6cd07898815d7"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="group__coreinit__time.html#structOSCalendarTime">OSCalendarTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga3d2dd4b82471f30d5bb6cd07898815d7">OSCalendarTime</a></td></tr>
<tr class="separator:ga3d2dd4b82471f30d5bb6cd07898815d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a345701176e997d5befdad507ce56c4"><td class="memItemLeft" align="right" valign="top">typedef int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga8a345701176e997d5befdad507ce56c4">OSTick</a></td></tr>
<tr class="separator:ga8a345701176e997d5befdad507ce56c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4d4f771188f6c29e758ed6b3b8347b4d"><td class="memItemLeft" align="right" valign="top">typedef int64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a></td></tr>
<tr class="separator:ga4d4f771188f6c29e758ed6b3b8347b4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:gab2a332ddda0097ef61cfcf7cd4a39a07"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#gab2a332ddda0097ef61cfcf7cd4a39a07">OSGetTime</a> ()</td></tr>
<tr class="separator:gab2a332ddda0097ef61cfcf7cd4a39a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f77110c37a2dacc5c90cdbe06263e94"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga8f77110c37a2dacc5c90cdbe06263e94">OSGetSystemTime</a> ()</td></tr>
<tr class="separator:ga8f77110c37a2dacc5c90cdbe06263e94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae87316411264b3c9236913dabb9a6fa2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__time.html#ga8a345701176e997d5befdad507ce56c4">OSTick</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#gae87316411264b3c9236913dabb9a6fa2">OSGetTick</a> ()</td></tr>
<tr class="separator:gae87316411264b3c9236913dabb9a6fa2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga048f5f8132b8788b45d36d0571ca06dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__time.html#ga8a345701176e997d5befdad507ce56c4">OSTick</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga048f5f8132b8788b45d36d0571ca06dc">OSGetSystemTick</a> ()</td></tr>
<tr class="separator:ga048f5f8132b8788b45d36d0571ca06dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3a8aedfc2dfd1e33ba3b19979fd9cbd3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#ga3a8aedfc2dfd1e33ba3b19979fd9cbd3">OSCalendarTimeToTicks</a> (<a class="el" href="group__coreinit__time.html#structOSCalendarTime">OSCalendarTime</a> *calendarTime)</td></tr>
<tr class="separator:ga3a8aedfc2dfd1e33ba3b19979fd9cbd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa34d1e7bf191ae1920ae4a7487b596b7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__coreinit__time.html#gaa34d1e7bf191ae1920ae4a7487b596b7">OSTicksToCalendarTime</a> (<a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> time, <a class="el" href="group__coreinit__time.html#structOSCalendarTime">OSCalendarTime</a> *calendarTime)</td></tr>
<tr class="separator:gaa34d1e7bf191ae1920ae4a7487b596b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<hr/><h2 class="groupheader">Data Structure Documentation</h2>
<a name="structOSCalendarTime" id="structOSCalendarTime"></a>
<h2 class="memtitle"><span class="permalink"><a href="#structOSCalendarTime">&#9670;&nbsp;</a></span>OSCalendarTime</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct OSCalendarTime</td>
</tr>
</table>
</div><div class="memdoc">
<div class="textblock"><p>Same as std c struct tm but with msec and usec added. </p>
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00021">21</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div><table class="fieldtable">
<tr><th colspan="3">Data Fields</th></tr>
<tr><td class="fieldtype">
<a id="a1cad71d6a0320cda1e9c2972e5ed69a0"></a>int32_t</td>
<td class="fieldname">
tm_sec</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="af222f03106a223340f607d0922296595"></a>int32_t</td>
<td class="fieldname">
tm_min</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a0e9413b6e329683e8bd22c1b4f4fa527"></a>int32_t</td>
<td class="fieldname">
tm_hour</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a43b11a5401efa13b38fb2704bc6cc276"></a>int32_t</td>
<td class="fieldname">
tm_mday</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a4f67b4180a8ce88a4aed0270cb9f9bbf"></a>int32_t</td>
<td class="fieldname">
tm_mon</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="aaca5843de3a0cc8c6d665f48807adaf3"></a>int32_t</td>
<td class="fieldname">
tm_year</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a2a2c97dd11b5107610d6325acafc1397"></a>int32_t</td>
<td class="fieldname">
tm_wday</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a408e89e35765eebc72e44d63702e462d"></a>int32_t</td>
<td class="fieldname">
tm_yday</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="ab8bafcba215110d4f1a6a13431d48715"></a>int32_t</td>
<td class="fieldname">
tm_msec</td>
<td class="fielddoc">
</td></tr>
<tr><td class="fieldtype">
<a id="a588bcf43bc0e2ddcf9ff0a85acc8baec"></a>int32_t</td>
<td class="fieldname">
tm_usec</td>
<td class="fielddoc">
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a id="gaafdcfae39fd2307afcd1f1ff990d107e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaafdcfae39fd2307afcd1f1ff990d107e">&#9670;&nbsp;</a></span>OSTimerClockSpeed</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define OSTimerClockSpeed&#160;&#160;&#160;((<a class="el" href="group__coreinit__systeminfo.html#ga8fec93a3dcbb7b1665e081af10783968">OSGetSystemInfo</a>()-&gt;busClockSpeed) / 4)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00046">46</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<a id="ga56f8387dc414ae566fe81fe6197af191"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga56f8387dc414ae566fe81fe6197af191">&#9670;&nbsp;</a></span>OSSecondsToTicks</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define OSSecondsToTicks</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">val</td><td>)</td>
<td>&#160;&#160;&#160;((uint64_t)(val) * (uint64_t)<a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00048">48</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<a id="ga3af64061ec6671a5297a1a049d21b95d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3af64061ec6671a5297a1a049d21b95d">&#9670;&nbsp;</a></span>OSMillisecondsToTicks</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define OSMillisecondsToTicks</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">val</td><td>)</td>
<td>&#160;&#160;&#160;(((uint64_t)(val) * (uint64_t)<a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>) / 1000ull)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00049">49</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<a id="ga584e92fd516b71c29eced7027deae2bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga584e92fd516b71c29eced7027deae2bc">&#9670;&nbsp;</a></span>OSMicrosecondsToTicks</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define OSMicrosecondsToTicks</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">val</td><td>)</td>
<td>&#160;&#160;&#160;(((uint64_t)(val) * (uint64_t)<a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>) / 1000000ull)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00050">50</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<a id="gaf3a338c4d432612d3989e66a2467786a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf3a338c4d432612d3989e66a2467786a">&#9670;&nbsp;</a></span>OSNanosecondsToTicks</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define OSNanosecondsToTicks</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">val</td><td>)</td>
<td>&#160;&#160;&#160;(((uint64_t)(val) * ((uint64_t)<a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>) / 31250ull) / 32000ull)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00051">51</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<a id="ga2941294bae034893f2dc7fdaf58afc42"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2941294bae034893f2dc7fdaf58afc42">&#9670;&nbsp;</a></span>OSTicksToSeconds</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define OSTicksToSeconds</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">val</td><td>)</td>
<td>&#160;&#160;&#160;((uint64_t)(val) / (uint64_t)<a class="el" href="group__coreinit__time.html#gaafdcfae39fd2307afcd1f1ff990d107e">OSTimerClockSpeed</a>)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00053">53</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<a id="gae514d4f6a8f6d4d38ef172c3923fca83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae514d4f6a8f6d4d38ef172c3923fca83">&#9670;&nbsp;</a></span>OSTicksToMilliseconds</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define OSTicksToMilliseconds</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">val</td><td>)</td>
<td>&#160;&#160;&#160;(((uint64_t)(val) * 1000ull) / (uint64_t)OSTimerClockSpeed)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00054">54</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<a id="ga0953882bda32934e674efcfa12ed0041"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0953882bda32934e674efcfa12ed0041">&#9670;&nbsp;</a></span>OSTicksToMicroseconds</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define OSTicksToMicroseconds</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">val</td><td>)</td>
<td>&#160;&#160;&#160;(((uint64_t)(val) * 1000000ull) / (uint64_t)OSTimerClockSpeed)</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00055">55</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<a id="gac830b302adc1dc65e80b400336a3273c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac830b302adc1dc65e80b400336a3273c">&#9670;&nbsp;</a></span>OSTicksToNanoseconds</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define OSTicksToNanoseconds</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">val</td><td>)</td>
<td>&#160;&#160;&#160;(((uint64_t)(val) * 32000ull) / ((uint64_t)OSTimerClockSpeed / 31250ull))</td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00056">56</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a id="ga3d2dd4b82471f30d5bb6cd07898815d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3d2dd4b82471f30d5bb6cd07898815d7">&#9670;&nbsp;</a></span>OSCalendarTime</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef struct <a class="el" href="group__coreinit__time.html#structOSCalendarTime">OSCalendarTime</a> <a class="el" href="group__coreinit__time.html#structOSCalendarTime">OSCalendarTime</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00015">15</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<a id="ga8a345701176e997d5befdad507ce56c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8a345701176e997d5befdad507ce56c4">&#9670;&nbsp;</a></span>OSTick</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int32_t <a class="el" href="group__coreinit__time.html#ga8a345701176e997d5befdad507ce56c4">OSTick</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00017">17</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<a id="ga4d4f771188f6c29e758ed6b3b8347b4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4d4f771188f6c29e758ed6b3b8347b4d">&#9670;&nbsp;</a></span>OSTime</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int64_t <a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="time_8h_source.html#l00018">18</a> of file <a class="el" href="time_8h_source.html">time.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a id="gab2a332ddda0097ef61cfcf7cd4a39a07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab2a332ddda0097ef61cfcf7cd4a39a07">&#9670;&nbsp;</a></span>OSGetTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> OSGetTime </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga8f77110c37a2dacc5c90cdbe06263e94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8f77110c37a2dacc5c90cdbe06263e94">&#9670;&nbsp;</a></span>OSGetSystemTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> OSGetSystemTime </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gae87316411264b3c9236913dabb9a6fa2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae87316411264b3c9236913dabb9a6fa2">&#9670;&nbsp;</a></span>OSGetTick()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__time.html#ga8a345701176e997d5befdad507ce56c4">OSTick</a> OSGetTick </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga048f5f8132b8788b45d36d0571ca06dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga048f5f8132b8788b45d36d0571ca06dc">&#9670;&nbsp;</a></span>OSGetSystemTick()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__time.html#ga8a345701176e997d5befdad507ce56c4">OSTick</a> OSGetSystemTick </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ga3a8aedfc2dfd1e33ba3b19979fd9cbd3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3a8aedfc2dfd1e33ba3b19979fd9cbd3">&#9670;&nbsp;</a></span>OSCalendarTimeToTicks()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a> OSCalendarTimeToTicks </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__time.html#structOSCalendarTime">OSCalendarTime</a> *&#160;</td>
<td class="paramname"><em>calendarTime</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="gaa34d1e7bf191ae1920ae4a7487b596b7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaa34d1e7bf191ae1920ae4a7487b596b7">&#9670;&nbsp;</a></span>OSTicksToCalendarTime()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void OSTicksToCalendarTime </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__coreinit__time.html#ga4d4f771188f6c29e758ed6b3b8347b4d">OSTime</a>&#160;</td>
<td class="paramname"><em>time</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__coreinit__time.html#structOSCalendarTime">OSCalendarTime</a> *&#160;</td>
<td class="paramname"><em>calendarTime</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>