1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
---|
3 | <title>mixpp: timing.h File Reference</title> |
---|
4 | <link href="tabs.css" rel="stylesheet" type="text/css"> |
---|
5 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
6 | </head><body> |
---|
7 | <!-- Generated by Doxygen 1.5.8 --> |
---|
8 | <script type="text/javascript"> |
---|
9 | <!-- |
---|
10 | function changeDisplayState (e){ |
---|
11 | var num=this.id.replace(/[^[0-9]/g,''); |
---|
12 | var button=this.firstChild; |
---|
13 | var sectionDiv=document.getElementById('dynsection'+num); |
---|
14 | if (sectionDiv.style.display=='none'||sectionDiv.style.display==''){ |
---|
15 | sectionDiv.style.display='block'; |
---|
16 | button.src='open.gif'; |
---|
17 | }else{ |
---|
18 | sectionDiv.style.display='none'; |
---|
19 | button.src='closed.gif'; |
---|
20 | } |
---|
21 | } |
---|
22 | function initDynSections(){ |
---|
23 | var divs=document.getElementsByTagName('div'); |
---|
24 | var sectionCounter=1; |
---|
25 | for(var i=0;i<divs.length-1;i++){ |
---|
26 | if(divs[i].className=='dynheader'&&divs[i+1].className=='dynsection'){ |
---|
27 | var header=divs[i]; |
---|
28 | var section=divs[i+1]; |
---|
29 | var button=header.firstChild; |
---|
30 | if (button!='IMG'){ |
---|
31 | divs[i].insertBefore(document.createTextNode(' '),divs[i].firstChild); |
---|
32 | button=document.createElement('img'); |
---|
33 | divs[i].insertBefore(button,divs[i].firstChild); |
---|
34 | } |
---|
35 | header.style.cursor='pointer'; |
---|
36 | header.onclick=changeDisplayState; |
---|
37 | header.id='dynheader'+sectionCounter; |
---|
38 | button.src='closed.gif'; |
---|
39 | section.id='dynsection'+sectionCounter; |
---|
40 | section.style.display='none'; |
---|
41 | section.style.marginLeft='14px'; |
---|
42 | sectionCounter++; |
---|
43 | } |
---|
44 | } |
---|
45 | } |
---|
46 | window.onload = initDynSections; |
---|
47 | --> |
---|
48 | </script> |
---|
49 | <div class="navigation" id="top"> |
---|
50 | <div class="tabs"> |
---|
51 | <ul> |
---|
52 | <li><a href="main.html"><span>Main Page</span></a></li> |
---|
53 | <li><a href="pages.html"><span>Related Pages</span></a></li> |
---|
54 | <li><a href="modules.html"><span>Modules</span></a></li> |
---|
55 | <li><a href="annotated.html"><span>Classes</span></a></li> |
---|
56 | <li class="current"><a href="files.html"><span>Files</span></a></li> |
---|
57 | </ul> |
---|
58 | </div> |
---|
59 | <div class="tabs"> |
---|
60 | <ul> |
---|
61 | <li><a href="files.html"><span>File List</span></a></li> |
---|
62 | <li><a href="globals.html"><span>File Members</span></a></li> |
---|
63 | </ul> |
---|
64 | </div> |
---|
65 | </div> |
---|
66 | <div class="contents"> |
---|
67 | <h1>timing.h File Reference</h1>Definitions of Timing classes. |
---|
68 | <a href="#_details">More...</a> |
---|
69 | <p> |
---|
70 | |
---|
71 | <p> |
---|
72 | <a href="timing_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> |
---|
73 | <tr><td></td></tr> |
---|
74 | <tr><td colspan="2"><br><h2>Classes</h2></td></tr> |
---|
75 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Timer.html">itpp::Timer</a></td></tr> |
---|
76 | |
---|
77 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A virtual base class for timers. <a href="classitpp_1_1Timer.html#_details">More...</a><br></td></tr> |
---|
78 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1CPU__Timer.html">itpp::CPU_Timer</a></td></tr> |
---|
79 | |
---|
80 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A CPU time timer class<p> |
---|
81 | Measures the time spent by the CPU on the current process. If two processes are running concurrently, one real seconds equal 5 CPU seconds per process. The resolution is not very good (in the order of 0.01 seconds). <a href="classitpp_1_1CPU__Timer.html#_details">More...</a><br></td></tr> |
---|
82 | <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classitpp_1_1Real__Timer.html">itpp::Real_Timer</a></td></tr> |
---|
83 | |
---|
84 | <tr><td class="mdescLeft"> </td><td class="mdescRight">A real time timer class<p> |
---|
85 | Measures real time. <a href="classitpp_1_1Real__Timer.html#_details">More...</a><br></td></tr> |
---|
86 | <tr><td colspan="2"><br><h2>Functions</h2></td></tr> |
---|
87 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="g4c1fa2a92a7d4e69002c91dfe0c41483"></a><!-- doxytag: member="timing.h::tic" ref="g4c1fa2a92a7d4e69002c91dfe0c41483" args="()" --> |
---|
88 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timers.html#g4c1fa2a92a7d4e69002c91dfe0c41483">itpp::tic</a> ()</td></tr> |
---|
89 | |
---|
90 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Reset and start timer. <br></td></tr> |
---|
91 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gbff8c6df34e4a24154d05bd64e1afc4f"></a><!-- doxytag: member="timing.h::toc" ref="gbff8c6df34e4a24154d05bd64e1afc4f" args="()" --> |
---|
92 | double </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timers.html#gbff8c6df34e4a24154d05bd64e1afc4f">itpp::toc</a> ()</td></tr> |
---|
93 | |
---|
94 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the elapsed time since last <a class="el" href="group__timers.html#g4c1fa2a92a7d4e69002c91dfe0c41483" title="Reset and start timer.">tic()</a>. <br></td></tr> |
---|
95 | <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="gb764b6e7f306577aeec8909ee818748c"></a><!-- doxytag: member="timing.h::toc_print" ref="gb764b6e7f306577aeec8909ee818748c" args="()" --> |
---|
96 | void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timers.html#gb764b6e7f306577aeec8909ee818748c">itpp::toc_print</a> ()</td></tr> |
---|
97 | |
---|
98 | <tr><td class="mdescLeft"> </td><td class="mdescRight">Prints the elapsed time since last <a class="el" href="group__timers.html#g4c1fa2a92a7d4e69002c91dfe0c41483" title="Reset and start timer.">tic()</a>. <br></td></tr> |
---|
99 | <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__timers.html#g5a01025d79b50aed2c516aa5206ef436">itpp::pause</a> (double t=-1)</td></tr> |
---|
100 | |
---|
101 | <tr><td class="mdescLeft"> </td><td class="mdescRight">pause <a href="group__timers.html#g5a01025d79b50aed2c516aa5206ef436"></a><br></td></tr> |
---|
102 | </table> |
---|
103 | <hr><a name="_details"></a><h2>Detailed Description</h2> |
---|
104 | Definitions of Timing classes. |
---|
105 | <p> |
---|
106 | <dl class="author" compact><dt><b>Author:</b></dt><dd>Thomas Eriksson, Tony Ottosson and Tobias Ringstrom</dd></dl> |
---|
107 | -------------------------------------------------------------------------<p> |
---|
108 | Copyright (C) 1995-2008 (see AUTHORS file for a list of contributors)<p> |
---|
109 | This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.<p> |
---|
110 | IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.<p> |
---|
111 | IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.<p> |
---|
112 | You should have received a copy of the GNU General Public License along with IT++. If not, see <<a href="http://www.gnu.org/licenses/">http://www.gnu.org/licenses/</a>>.<p> |
---|
113 | ------------------------------------------------------------------------- </div> |
---|
114 | <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jun 2 10:02:14 2009 for mixpp by |
---|
115 | <a href="http://www.doxygen.org/index.html"> |
---|
116 | <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.8 </small></address> |
---|
117 | </body> |
---|
118 | </html> |
---|