1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
9<title>OSSecondsToTicks</title>
10</head>
11
12<body>
13
14<h1>OSSecondsToTicks</h1>
15
16<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/os.h&gt;
19
20#define OSSecondsToTicks(sec)           \
21        ((sec)  * OS_TIMER_CLOCK)
22</pre></dd></dl>
23
24<h2>Arguments</h2>
25<TABLE class="arguments" border="1" >
26  <tr>
27<TH>sec</TH>
28<TD>Time in seconds.</TD>
29  </tr>
30</TABLE>
31
32<h2>Return Values</h2>
33<p>Time in ticks.</p>
34
35<H2>Description</H2>
36<P>Converts time representation from seconds to ticks (in <CODE>OS_TIMER_CLOCK</CODE> Hz).</P>
37
38<h2>See Also</h2>
39<P class="reference">
40<A href="../toc.html#Time" target="contents">Time Functions</A>,
41<a href="OSTicksToCycles.html">OSTicksToCycles</a>,
42<a href="OSTicksToSeconds.html">OSTicksToSeconds</a>,
43<a href="OSTicksToMilliseconds.html">OSTicksToMilliseconds</a>,
44<a href="OSTicksToMicroseconds.html">OSTicksToMicroseconds</a>,
45<a href="OSMillisecondsToTicks.html">OSMillisecondsToTicks</a>,
46<a href="OSMicrosecondsToTicks.html">OSMicrosecondsToTicks</a>
47</p>
48
49<H2>Revision History</H2>
50<P>
512006/03/01 Initial version.<br>
52</P>
53
54<hr><p>CONFIDENTIAL</p></body>
55</html>