Debian Codegraph @

docs/api_reference/C/mutexstat_print.html

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>DB_ENV-&gt;mutex_stat_print()</title>
7 <link rel="stylesheet" href="apiReference.css" type="text/css" />
8 <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
9 <link rel="start" href="index.html" title="Berkeley DB C API Reference" />
10 <link rel="up" href="mutex.html" title="Chapter 9.  Mutex Methods" />
11 <link rel="prev" href="mutexstat.html" title="DB_ENV-&gt;mutex_stat()" />
12 <link rel="next" href="mutexunlock.html" title="DB_ENV-&gt;mutex_unlock()" />
13 </head>
14 <body>
15 <div xmlns="" class="navheader">
16 <div class="libver">
17 <p>Library Version 11.2.5.3</p>
18 </div>
19 <table width="100%" summary="Navigation header">
20 <tr>
21 <th colspan="3" align="center">DB_ENV-&gt;mutex_stat_print()</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="mutexstat.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 9. 
26 Mutex Methods
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="mutexunlock.html">Next</a></td>
29 </tr>
30 </table>
31 <hr />
32 </div>
33 <div class="sect1" lang="en" xml:lang="en">
34 <div class="titlepage">
35 <div>
36 <div>
37 <h2 class="title" style="clear: both"><a id="mutexstat_print"></a>DB_ENV-&gt;mutex_stat_print()</h2>
38 </div>
39 </div>
40 </div>
41 <pre class="programlisting">#include &lt;db.h&gt;
42
43 int
44 DB_ENV-&gt;mutex_stat_print(DB_ENV *env, u_int32_t flags); </pre>
45 <p>
46 The <code class="methodname">DB_ENV-&gt;mutex_stat_print()</code> method displays the mutex subsystem
47 statistical information, as described for the <code class="methodname">DB_ENV-&gt;mutex_stat()</code>
48 method. The information is printed to a specified output channel (see
49 the <a class="xref" href="envset_msgfile.html" title="DB_ENV-&gt;set_msgfile()">DB_ENV-&gt;set_msgfile()</a>
50 method for more information), or passed to an application callback
51 function (see the <a class="xref" href="envset_msgcall.html" title="DB_ENV-&gt;set_msgcall()">DB_ENV-&gt;set_msgcall()</a>
52 method for more information).
53 </p>
54 <p>
55 The <code class="methodname">DB_ENV-&gt;mutex_stat_print()</code> method may not be called before the
56 <a class="xref" href="envopen.html" title="DB_ENV-&gt;open()">DB_ENV-&gt;open()</a> method is called.
57 </p>
58 <p>
59 The <code class="methodname">DB_ENV-&gt;mutex_stat_print()</code> <span>
60 <span>
61 method returns a non-zero error value on failure and 0 on success.
62 </span>
63
64 </span>
65 </p>
66 <div class="sect2" lang="en" xml:lang="en">
67 <div class="titlepage">
68 <div>
69 <div>
70 <h3 class="title"><a id="idp53808216"></a>Parameters</h3>
71 </div>
72 </div>
73 </div>
74 <div class="sect3" lang="en" xml:lang="en">
75 <div class="titlepage">
76 <div>
77 <div>
78 <h4 class="title"><a id="idp53803616"></a>flags</h4>
79 </div>
80 </div>
81 </div>
82 <p>
83 The <span class="bold"><strong>flags</strong></span> parameter must be set to 0
84 or by bitwise inclusively <span class="bold"><strong>OR</strong></span>'ing
85 together one or more of the following values:
86 </p>
87 <div class="itemizedlist">
88 <ul type="disc">
89 <li>
90 <p>
91 <code class="literal">DB_STAT_ALL</code>
92 </p>
93 <p>
94 Display all available information.
95 </p>
96 </li>
97 <li>
98 <p>
99 <code class="literal">DB_STAT_CLEAR</code>
100 </p>
101 <p>
102 Reset statistics after displaying their values.
103 </p>
104 </li>
105 </ul>
106 </div>
107 </div>
108 </div>
109 <div class="sect2" lang="en" xml:lang="en">
110 <div class="titlepage">
111 <div>
112 <div>
113 <h3 class="title"><a id="idp53834032"></a>Class</h3>
114 </div>
115 </div>
116 </div>
117 <p>
118 <a class="link" href="env.html" title="Chapter 5.  The DB_ENV Handle">DB_ENV</a>
119 </p>
120 </div>
121 <div class="sect2" lang="en" xml:lang="en">
122 <div class="titlepage">
123 <div>
124 <div>
125 <h3 class="title"><a id="idp53814816"></a>See Also</h3>
126 </div>
127 </div>
128 </div>
129 <p>
130 <a class="xref" href="mutex.html#mutexlist" title="Mutex Methods">Mutex Methods</a>
131 </p>
132 </div>
133 </div>
134 <div class="navfooter">
135 <hr />
136 <table width="100%" summary="Navigation footer">
137 <tr>
138 <td width="40%" align="left"><a accesskey="p" href="mutexstat.html">Prev</a> </td>
139 <td width="20%" align="center">
140 <a accesskey="u" href="mutex.html">Up</a>
141 </td>
142 <td width="40%" align="right"> <a accesskey="n" href="mutexunlock.html">Next</a></td>
143 </tr>
144 <tr>
145 <td width="40%" align="left" valign="top">DB_ENV-&gt;mutex_stat() </td>
146 <td width="20%" align="center">
147 <a accesskey="h" href="index.html">Home</a>
148 </td>
149 <td width="40%" align="right" valign="top"> DB_ENV-&gt;mutex_unlock()</td>
150 </tr>
151 </table>
152 </div>
153 </body>
154 </html>