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>OSStopStopwatch</title> 10</head> 11 12<body> 13 14<h1>OSStopStopwatch</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/os.h> 19 20void OSStopStopwatch(OSStopwatch* sw); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<TABLE class="arguments" border="1" > 25 <tr> 26<TH>sw</TH> 27<TD>Pointer to stopwatch to stop.</TD> 28 </tr> 29</TABLE> 30 31<h2>Return Values</h2> 32<p>None.</p> 33 34<H2>Description</H2> 35<P>Used when the code region being measured is exited. Records the time elapsed since the last invocation of <A href="OSStartStopwatch.html"><CODE>OSStartStopwatch</CODE></A>, and updates the total time, <EM>min</EM> value, <EM>max</EM> value, and <EM>hits</EM> value in the stopwatch.</P> 36 37<h2>See Also</h2> 38<P class="reference"> 39<a href="../toc.html#Stopwatch" target="contents">Stopwatch Functions</a>, 40<a href="OSDumpStopwatch.html">OSDumpStopwatch</a>, 41<a href="OSInitStopwatch.html">OSInitStopwatch</a>, 42<a href="OSStartStopwatch.html">OSStartStopwatch</a>, 43<a href="OSCheckStopwatch.html">OSCheckStopwatch</a>, 44<a href="OSResetStopwatch.html">OSResetStopwatch</a> 45</p> 46 47<H2>Revision History</H2> 48<P> 492006/03/01 Initial version.<br> 50</P> 51 52<hr><p>CONFIDENTIAL</p></body> 53</html>