<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>FAUST compiler: timing.hh Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.3 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <h1>timing.hh</h1><a href="timing_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __TIMING__</span> <a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __TIMING__</span> <a name="l00003"></a>00003 <span class="preprocessor"></span> <a name="l00004"></a>00004 <a name="l00005"></a>00005 <span class="comment">// use startTiming("foo") and endTiming("foo") to measure the execution time of a portion of code</span> <a name="l00006"></a>00006 <span class="comment">// edit timing.cpp de unactivate the code</span> <a name="l00007"></a>00007 <a name="l00008"></a>00008 <span class="keywordtype">void</span> <a class="code" href="timing_8cpp.html#a8b3ae592fe54580b95171a2bdabb2641">startTiming</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* msg); <a name="l00009"></a>00009 <a name="l00010"></a>00010 <span class="keywordtype">void</span> <a class="code" href="timing_8cpp.html#ac5c8a9d488cf5c7d786c833565e093e9">endTiming</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* msg); <a name="l00011"></a>00011 <a name="l00012"></a>00012 <span class="preprocessor">#endif</span> <a name="l00013"></a>00013 <span class="preprocessor"></span> <a name="l00014"></a>00014 </pre></div></div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Apr 28 23:59:59 2010 for FAUST compiler by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>