Debian Codegraph @

docs/api_reference/CXX/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>DbEnv::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 10.  Mutex Methods" />
11 <link rel="prev" href="mutexstat.html" title="DbEnv::mutex_stat()" />
12 <link rel="next" href="mutexunlock.html" title="DbEnv::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">DbEnv::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 10. 
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>DbEnv::mutex_stat_print()</h2>
38 </div>
39 </div>
40 </div>
41 <pre class="programlisting">#include &lt;db_cxx.h&gt;
42
43 int
44 DbEnv::mutex_stat_print(u_int32_t flags);</pre>
45 <p>
46 The <code class="methodname">DbEnv::mutex_stat_print()</code> method displays the mutex subsystem
47 statistical information, as described for the <code class="methodname">DbEnv::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="DbEnv::set_msgfile()">DbEnv::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="DbEnv::set_msgcall()">DbEnv::set_msgcall()</a>
52 method for more information).
53 </p>
54 <p>
55 The <code class="methodname">DbEnv::mutex_stat_print()</code> method may not be called before the
56 <a class="xref" href="envopen.html" title="DbEnv::open()">DbEnv::open()</a> method is called.
57 </p>
58 <p>
59 The <code class="methodname">DbEnv::mutex_stat_print()</code> <span>
60
61 <span>
62 method either returns a non-zero error value or throws an
63 exception that encapsulates a non-zero error value on
64 failure, and returns 0 on success.
65 </span>
66 </span>
67 </p>
68 <div class="sect2" lang="en" xml:lang="en">
69 <div class="titlepage">
70 <div>
71 <div>
72 <h3 class="title"><a id="idp9276536"></a>Parameters</h3>
73 </div>
74 </div>
75 </div>
76 <div class="sect3" lang="en" xml:lang="en">
77 <div class="titlepage">
78 <div>
79 <div>
80 <h4 class="title"><a id="idp9291272"></a>flags</h4>
81 </div>
82 </div>
83 </div>
84 <p>
85 The <span class="bold"><strong>flags</strong></span> parameter must be set to 0
86 or by bitwise inclusively <span class="bold"><strong>OR</strong></span>'ing
87 together one or more of the following values:
88 </p>
89 <div class="itemizedlist">
90 <ul type="disc">
91 <li>
92 <p>
93 <code class="literal">DB_STAT_ALL</code>
94 </p>
95 <p>
96 Display all available information.
97 </p>
98 </li>
99 <li>
100 <p>
101 <code class="literal">DB_STAT_CLEAR</code>
102 </p>
103 <p>
104 Reset statistics after displaying their values.
105 </p>
106 </li>
107 </ul>
108 </div>
109 </div>
110 </div>
111 <div class="sect2" lang="en" xml:lang="en">
112 <div class="titlepage">
113 <div>
114 <div>
115 <h3 class="title"><a id="idp9300616"></a>Class</h3>
116 </div>
117 </div>
118 </div>
119 <p>
120 <a class="link" href="env.html" title="Chapter 5.  The DbEnv Handle">DbEnv</a>
121 </p>
122 </div>
123 <div class="sect2" lang="en" xml:lang="en">
124 <div class="titlepage">
125 <div>
126 <div>
127 <h3 class="title"><a id="idp9288080"></a>See Also</h3>
128 </div>
129 </div>
130 </div>
131 <p>
132 <a class="xref" href="mutex.html#mutexlist" title="Mutex Methods">Mutex Methods</a>
133 </p>
134 </div>
135 </div>
136 <div class="navfooter">
137 <hr />
138 <table width="100%" summary="Navigation footer">
139 <tr>
140 <td width="40%" align="left"><a accesskey="p" href="mutexstat.html">Prev</a> </td>
141 <td width="20%" align="center">
142 <a accesskey="u" href="mutex.html">Up</a>
143 </td>
144 <td width="40%" align="right"> <a accesskey="n" href="mutexunlock.html">Next</a></td>
145 </tr>
146 <tr>
147 <td width="40%" align="left" valign="top">DbEnv::mutex_stat() </td>
148 <td width="20%" align="center">
149 <a accesskey="h" href="index.html">Home</a>
150 </td>
151 <td width="40%" align="right" valign="top"> DbEnv::mutex_unlock()</td>
152 </tr>
153 </table>
154 </div>
155 </body>
156 </html>