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>OSInitStopwatch</title> 10</head> 11 12<body> 13 14<h1>OSInitStopwatch</h1> 15 16 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/os.h></code></pre> 21 </dd> 22<dd><pre><CODE>void OSInitStopwatch (OSStopwatch* sw, char* name);</CODE></pre> 23 </dd> 24</dl> 25 26<h2>Arguments</h2> 27<TABLE border="1" cellpadding="3" cellspacing="0.1"> 28 <tr> 29<TD width="120" bgcolor="#ffffe8"><code><strong><em><STRONG><EM><CODE>sw</CODE></EM></STRONG></em></strong></code></TD> 30<TD width="520">Pointer to the stopwatch to initialize.</TD> 31 </tr> 32 <tr> 33<TD width="120" bgcolor="#ffffe8"><code><strong><em><code><EM><STRONG>name</STRONG></EM></code></em></strong></code></TD> 34<TD width="520">Stopwatch name.</TD> 35 </tr> 36</TABLE> 37<h2>Return Values</h2> 38 39<p>None.</p> 40<H2>Description</H2> 41<P>Initializes a structure for a specified stopwatch.</P> 42 43<h2>See Also</h2> 44 45<p><A href="../toc.html#Stopwatch" target="contents">Stopwatch Functions</A>,<code><a href="OSDumpStopwatch.html">OSDumpStopwatch</a></code>, <code><a href="OSStartStopwatch.html">OSStartStopwatch</a></code>, <code><a href="OSStopStopwatch.html">OSStopStopwatch</a></code>, <code><a href="OSCheckStopwatch.html">OSCheckStopwatch</a></code>, <code><a href="OSResetStopwatch.html">OSResetStopwatch</a></code></p> 46<H2>Revision History</H2> 47<P>03/01/2006 Initial version.</P> 48</body> 49</html>