Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > by-pkgid > 7f0e9d2cc294974b84562d13b27b6991 > files > 31

ocamlviz-1.01-1.1mdv2010.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="previous" href="Monitor_sig.Monitor.Tree.html">
<link rel="Up" href="Monitor_sig.Monitor.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Index of module types" rel=Appendix href="index_module_types.html">
<link title="Binary" rel="Chapter" href="Binary.html">
<link title="Bproto" rel="Chapter" href="Bproto.html">
<link title="Db" rel="Chapter" href="Db.html">
<link title="Graph" rel="Chapter" href="Graph.html">
<link title="Monitor_sig" rel="Chapter" href="Monitor_sig.html">
<link title="Ocamlviz" rel="Chapter" href="Ocamlviz.html">
<link title="Ocamlviz_threads" rel="Chapter" href="Ocamlviz_threads.html">
<link title="Protocol" rel="Chapter" href="Protocol.html">
<link title="Timemap" rel="Chapter" href="Timemap.html"><title>Monitor_sig.Monitor.Hashtable</title>
</head>
<body>
<div class="navbar"><a href="Monitor_sig.Monitor.Tree.html">Previous</a>
&nbsp;<a href="Monitor_sig.Monitor.html">Up</a>
&nbsp;</div>
<center><h1>Module <a href="type_Monitor_sig.Monitor.Hashtable.html">Monitor_sig.Monitor.Hashtable</a></h1></center>
<br>
<pre><span class="keyword">module</span> Hashtable: <code class="code">sig</code> <a href="Monitor_sig.Monitor.Hashtable.html">..</a> <code class="code">end</code></pre>A module that allows hash tables monitoring.<br>
<hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type">'a</code> t </pre>

<pre><span class="keyword">val</span> <a name="VALobserve"></a>observe : <code class="type">?period:int -> string -> 'a -> 'a</code></pre><div class="info">
<code class="code">observe s h</code> monitors a hash table <code class="code">h</code> called <code class="code">s</code>.
	  One can observe six things about the table:<ul>
<li>hash table length (number of elements inside the table)</li>
<li>array length (number of entries of the table)</li>
<li>number of empty buckets</li>
<li>hash table filling rate</li>
<li>longest bucket</li>
<li>mean bucket length</li>
</ul>
<br>
</div>
</body></html>