<?xml version='1.0'?>
<html xmlns='http://www.w3.org/1999/xhtml'
      xmlns:math='http://www.w3.org/1998/Math/MathML'
>
<head>
<title>Microsoft Version of Elapsed Number of Seconds</title>
<meta name="description" id="description" content="Microsoft Version of Elapsed Number of Seconds"/>
<meta name="keywords" id="keywords" content=" "/>
<style type='text/css'>
body { color : black }
body { background-color : white }
A:link { color : blue }
A:visited { color : purple }
A:active { color : purple }
</style>
<script type='text/javascript' language='JavaScript' src='_microsoft_timer_xml.js'>
</script>
</head>
<body>
<table><tr>
<td>
<a href="http://www.coin-or.org/CppAD/" target="_top"><img border="0" src="_image.gif"/></a>
</td>
<td><a href="link_sparse_jacobian.xml" target="_top">Prev</a>
</td><td><a href="speed_utility.xml" target="_top">Next</a>
</td><td>
<select onchange='choose_across0(this)'>
<option>Index-&gt;</option>
<option>contents</option>
<option>reference</option>
<option>index</option>
<option>search</option>
<option>external</option>
</select>
</td>
<td>
<select onchange='choose_up0(this)'>
<option>Up-&gt;</option>
<option>CppAD</option>
<option>speed</option>
<option>speed_main</option>
<option>microsoft_timer</option>
</select>
</td>
<td>
<select onchange='choose_down3(this)'>
<option>CppAD-&gt;</option>
<option>Install</option>
<option>Introduction</option>
<option>AD</option>
<option>ADFun</option>
<option>preprocessor</option>
<option>multi_thread</option>
<option>library</option>
<option>ipopt_solve</option>
<option>Example</option>
<option>speed</option>
<option>Appendix</option>
</select>
</td>
<td>
<select onchange='choose_down2(this)'>
<option>speed-&gt;</option>
<option>speed_main</option>
<option>speed_utility</option>
<option>speed_double</option>
<option>speed_adolc</option>
<option>speed_cppad</option>
<option>speed_fadbad</option>
<option>speed_sacado</option>
</select>
</td>
<td>
<select onchange='choose_down1(this)'>
<option>speed_main-&gt;</option>
<option>link_det_lu</option>
<option>link_det_minor</option>
<option>link_mat_mul</option>
<option>link_ode</option>
<option>link_poly</option>
<option>link_sparse_hessian</option>
<option>link_sparse_jacobian</option>
<option>microsoft_timer</option>
</select>
</td>
<td>microsoft_timer</td>
<td>
<select onchange='choose_current0(this)'>
<option>Headings-&gt;</option>
<option>Syntax</option>
<option>Purpose</option>
<option>s</option>
<option>Linking</option>
</select>
</td>
</tr></table><br/>



<center><b><big><big>Microsoft Version of Elapsed Number of Seconds</big></big></b></center>
<br/>
<b><big><a name="Syntax" id="Syntax">Syntax</a></big></b>

<br/>

<code><i><font color="black"><span style='white-space: nowrap'>s</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;microsoft_timer()</span></font></code>


<br/>
<br/>
<b><big><a name="Purpose" id="Purpose">Purpose</a></big></b>
<br/>
This routine is accurate to within .02 seconds
(see <a href="elapsed_seconds.xml" target="_top"><span style='white-space: nowrap'>elapsed_seconds</span></a>
 which uses this routine when 
the preprocessor symbol <code><font color="blue">_MSC_VER</font></code> is defined).
It does not necessary work for time intervals that are greater than a day.
It uses <code><font color="blue">::GetSystemTime</font></code> for timing.

<br/>
<br/>
<b><big><a name="s" id="s">s</a></big></b>
<br/>
is a <code><font color="blue">double</font></code> equal to the 
number of seconds since the first call to <code><font color="blue">microsoft_timer</font></code>.

<br/>
<br/>
<b><big><a name="Linking" id="Linking">Linking</a></big></b>
<br/>
The source code for this routine is located in 
<code><font color="blue">speed/microsoft_timer.cpp</font></code>.
The preprocessor symbol <code><font color="blue">_MSC_VER</font></code> must
be defined, or this routine is not compiled.


<hr/>Input File: speed/src/microsoft_timer.cpp

</body>
</html>
