Debian Codegraph @

docs/api_reference/CXX/mempstat_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::memp_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="memp.html" title="Chapter 9.  The DbMpoolFile Handle" />
11 <link rel="prev" href="mempstat.html" title="DbEnv::memp_stat()" />
12 <link rel="next" href="mempsync.html" title="DbEnv::memp_sync()" />
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::memp_stat_print()</th>
22 </tr>
23 <tr>
24 <td width="20%" align="left"><a accesskey="p" href="mempstat.html">Prev</a> </td>
25 <th width="60%" align="center">Chapter 9. 
26 The DbMpoolFile Handle
27 </th>
28 <td width="20%" align="right"> <a accesskey="n" href="mempsync.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="mempstat_print"></a>DbEnv::memp_stat_print()</h2>
38 </div>
39 </div>
40 </div>
41 <pre class="programlisting">#include &lt;db_cxx.h&gt;
42
43 int
44 DbEnv::memp_stat_print(u_int32_t flags);</pre>
45 <p>
46 The <code class="methodname">DbEnv::memp_stat_print()</code> method displays cache
47 subsystem statistical information, as described for the
48 <a class="xref" href="mempstat.html" title="DbEnv::memp_stat()">DbEnv::memp_stat()</a> method. The information is printed to
49 a specified output channel (see the
50 <a class="xref" href="envset_msgfile.html" title="DbEnv::set_msgfile()">DbEnv::set_msgfile()</a> method for more
51 information), or passed to an application callback function (see the
52 <a class="xref" href="envset_msgcall.html" title="DbEnv::set_msgcall()">DbEnv::set_msgcall()</a> method for more
53 information).
54 </p>
55 <p>
56 The <code class="methodname">DbEnv::memp_stat_print()</code> method may not be called before the
57 <a class="xref" href="envopen.html" title="DbEnv::open()">DbEnv::open()</a> method is
58 called.
59 </p>
60 <p>
61 The <code class="methodname">DbEnv::memp_stat_print()</code> <span>
62
63 <span>
64 method either returns a non-zero error value or throws an
65 exception that encapsulates a non-zero error value on
66 failure, and returns 0 on success.
67 </span>
68 </span>
69 </p>
70 <div class="sect2" lang="en" xml:lang="en">
71 <div class="titlepage">
72 <div>
73 <div>
74 <h3 class="title"><a id="idp8739792"></a>Parameters</h3>
75 </div>
76 </div>
77 </div>
78 <div class="sect3" lang="en" xml:lang="en">
79 <div class="titlepage">
80 <div>
81 <div>
82 <h4 class="title"><a id="idp8736488"></a>flags</h4>
83 </div>
84 </div>
85 </div>
86 <p>
87 The <span class="bold"><strong>flags</strong></span> parameter must be set to 0
88 or by bitwise inclusively <span class="bold"><strong>OR</strong></span>'ing
89 together one or more of the following values:
90 </p>
91 <div class="itemizedlist">
92 <ul type="disc">
93 <li>
94 <p><a id="mempstat_print_DB_STAT_ALL"></a>
95 <code class="literal">DB_STAT_ALL</code>
96 </p>
97 <p>
98 Display all available information.
99 </p>
100 </li>
101 <li>
102 <p><a id="mempstat_print_DB_STAT_CLEAR"></a>
103 <code class="literal">DB_STAT_CLEAR</code>
104 </p>
105 <p>
106 Reset statistics after displaying their values.
107 </p>
108 </li>
109 <li>
110 <p><a id="mempstat_print_DB_STAT_MEMP_HASH"></a>
111 <code class="literal">DB_STAT_MEMP_HASH</code>
112 </p>
113 <p>
114 Display the buffers with hash chains.
115 </p>
116 </li>
117 </ul>
118 </div>
119 </div>
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="idp8761064"></a>Class</h3>
126 </div>
127 </div>
128 </div>
129 <p>
130 <a class="link" href="env.html" title="Chapter 5.  The DbEnv Handle">DbEnv</a>, <a class="link" href="memp.html" title="Chapter 9.  The DbMpoolFile Handle">DbMpoolFile</a>
131 </p>
132 </div>
133 <div class="sect2" lang="en" xml:lang="en">
134 <div class="titlepage">
135 <div>
136 <div>
137 <h3 class="title"><a id="idp8751064"></a>See Also</h3>
138 </div>
139 </div>
140 </div>
141 <p>
142 <a class="xref" href="memp.html#memplist" title="Memory Pools and Related Methods">Memory Pools and Related Methods</a>
143 </p>
144 </div>
145 </div>
146 <div class="navfooter">
147 <hr />
148 <table width="100%" summary="Navigation footer">
149 <tr>
150 <td width="40%" align="left"><a accesskey="p" href="mempstat.html">Prev</a> </td>
151 <td width="20%" align="center">
152 <a accesskey="u" href="memp.html">Up</a>
153 </td>
154 <td width="40%" align="right"> <a accesskey="n" href="mempsync.html">Next</a></td>
155 </tr>
156 <tr>
157 <td width="40%" align="left" valign="top">DbEnv::memp_stat() </td>
158 <td width="20%" align="center">
159 <a accesskey="h" href="index.html">Home</a>
160 </td>
161 <td width="40%" align="right" valign="top"> DbEnv::memp_sync()</td>
162 </tr>
163 </table>
164 </div>
165 </body>
166 </html>