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<h2>Syntax</h2> 17<dl><dd><pre class="construction">#include <revolution/os.h> 18 19void OSInitStopwatch(OSStopwatch* sw, char* name); 20</pre></dd></dl> 21 22<h2>Arguments</h2> 23<TABLE class="arguments" border="1" > 24 <tr> 25<TH>sw</TH> 26<TD>Pointer to the stopwatch to initialize.</TD> 27 </tr> 28 <tr> 29<TH>name</TH> 30<TD>Stopwatch name.</TD> 31 </tr> 32</TABLE> 33 34<h2>Return Values</h2> 35<p>None.</p> 36 37<H2>Description</H2> 38<P>Initializes designated stopwatch structure.</P> 39 40<h2>See Also</h2> 41<P class="reference"> 42<A href="../toc.html#Stopwatch" target="contents">Stopwatch Functions</A>, 43<a href="OSDumpStopwatch.html">OSDumpStopwatch</a>, 44<a href="OSStartStopwatch.html">OSStartStopwatch</a>, 45<a href="OSStopStopwatch.html">OSStopStopwatch</a>, 46<a href="OSCheckStopwatch.html">OSCheckStopwatch</a>, 47<a href="OSResetStopwatch.html">OSResetStopwatch</a> 48</p> 49 50<H2>Revision History</H2> 51<P>2007/12/11 Changed the type of the second argument to <CODE>const char*</CODE>.<BR>2006/03/01 Initial version.</P> 52<hr><p>CONFIDENTIAL</p></body> 53</html>