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>JACK-AUDIO-CONNECTION-KIT: statistics.h File Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.6 -->
9
<h1>statistics.h File Reference</h1><code>#include <<a class="el" href="types_8h-source.html">jack/types.h</a>></code><br>
12
<a href="statistics_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
14
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
15
<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="statistics_8h.html#b4adfe9509eef86e4a44ccc6c38bda1f">jack_get_max_delayed_usecs</a> (<a class="el" href="types_8h.html#96cf103940d2ee71b141d4b9d0c116bf">jack_client_t</a> *<a class="el" href="simple__client_8c.html#fed7053cd7bdd1cce33dec7213f340ea">client</a>)</td></tr>
17
<tr><td class="memItemLeft" nowrap align="right" valign="top">float </td><td class="memItemRight" valign="bottom"><a class="el" href="statistics_8h.html#1594a8e3bbd718f128a9725057cf8877">jack_get_xrun_delayed_usecs</a> (<a class="el" href="types_8h.html#96cf103940d2ee71b141d4b9d0c116bf">jack_client_t</a> *<a class="el" href="simple__client_8c.html#fed7053cd7bdd1cce33dec7213f340ea">client</a>)</td></tr>
19
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="statistics_8h.html#eb7d2667d5f8281f4fe9c88db71a1843">jack_reset_max_delayed_usecs</a> (<a class="el" href="types_8h.html#96cf103940d2ee71b141d4b9d0c116bf">jack_client_t</a> *<a class="el" href="simple__client_8c.html#fed7053cd7bdd1cce33dec7213f340ea">client</a>)</td></tr>
22
<hr><h2>Function Documentation</h2>
23
<a class="anchor" name="b4adfe9509eef86e4a44ccc6c38bda1f"></a><!-- doxytag: member="statistics.h::jack_get_max_delayed_usecs" ref="b4adfe9509eef86e4a44ccc6c38bda1f" args="(jack_client_t *client)" -->
25
<div class="memproto">
26
<table class="memname">
28
<td class="memname">float jack_get_max_delayed_usecs </td>
30
<td class="paramtype"><a class="el" href="types_8h.html#96cf103940d2ee71b141d4b9d0c116bf">jack_client_t</a> * </td>
31
<td class="paramname"> <em>client</em> </td>
32
<td> ) </td>
40
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the maximum delay reported by the backend since startup or reset. When compared to the period size in usecs, this can be used to estimate the ideal period size for a given setup. </dd></dl>
44
<a class="anchor" name="1594a8e3bbd718f128a9725057cf8877"></a><!-- doxytag: member="statistics.h::jack_get_xrun_delayed_usecs" ref="1594a8e3bbd718f128a9725057cf8877" args="(jack_client_t *client)" -->
46
<div class="memproto">
47
<table class="memname">
49
<td class="memname">float jack_get_xrun_delayed_usecs </td>
51
<td class="paramtype"><a class="el" href="types_8h.html#96cf103940d2ee71b141d4b9d0c116bf">jack_client_t</a> * </td>
52
<td class="paramname"> <em>client</em> </td>
53
<td> ) </td>
61
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the delay in microseconds due to the most recent XRUN occurrence. This probably only makes sense when called from a <a class="el" href="types_8h.html#7955ec486286fec4e2a71243bb66370e">JackXRunCallback</a> defined using <a class="el" href="group__ClientCallbacks.html#g185c6859d72bb56452b72d1dcd8924f7">jack_set_xrun_callback()</a>. </dd></dl>
65
<a class="anchor" name="eb7d2667d5f8281f4fe9c88db71a1843"></a><!-- doxytag: member="statistics.h::jack_reset_max_delayed_usecs" ref="eb7d2667d5f8281f4fe9c88db71a1843" args="(jack_client_t *client)" -->
67
<div class="memproto">
68
<table class="memname">
70
<td class="memname">void jack_reset_max_delayed_usecs </td>
72
<td class="paramtype"><a class="el" href="types_8h.html#96cf103940d2ee71b141d4b9d0c116bf">jack_client_t</a> * </td>
73
<td class="paramname"> <em>client</em> </td>
74
<td> ) </td>
82
Reset the maximum delay counter. This would be useful to estimate the effect that a change to the configuration of a running system (e.g. toggling kernel preemption) has on the delay experienced by JACK, without having to restart the JACK engine.
86
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Nov 28 14:29:16 2008 for JACK-AUDIO-CONNECTION-KIT by
87
<a href="http://www.doxygen.org/index.html">
88
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>