Sophie

Sophie

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

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="next" href="Monitor_sig.Monitor.Tag.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.Point</title>
</head>
<body>
<div class="navbar">&nbsp;<a href="Monitor_sig.Monitor.html">Up</a>
&nbsp;<a href="Monitor_sig.Monitor.Tag.html">Next</a>
</div>
<center><h1>Module <a href="type_Monitor_sig.Monitor.Point.html">Monitor_sig.Monitor.Point</a></h1></center>
<br>
<pre><span class="keyword">module</span> Point: <code class="code">sig</code> <a href="Monitor_sig.Monitor.Point.html">..</a> <code class="code">end</code></pre>A module that allows to create checkpoints and
	watch how many times the program go through these points.<br>
<hr width="100%">
<pre><span class="keyword">type</span> <a name="TYPEt"></a><code class="type"></code>t </pre>
<div class="info">
The abstract type for a point.<br>
</div>

<pre><span class="keyword">val</span> <a name="VALcreate"></a>create : <code class="type">string -> <a href="Monitor_sig.Monitor.Point.html#TYPEt">t</a></code></pre><div class="info">
<code class="code">create s</code> creates a point called <code class="code">s</code>.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALkill"></a>kill : <code class="type"><a href="Monitor_sig.Monitor.Point.html#TYPEt">t</a> -> unit</code></pre><div class="info">
<code class="code">kill p</code> kills a point <code class="code">p</code>. This means that this point 
	  won't be monitored anymore.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALobserve"></a>observe : <code class="type"><a href="Monitor_sig.Monitor.Point.html#TYPEt">t</a> -> unit</code></pre><div class="info">
<code class="code">observe p</code> puts a checkpoint <code class="code">p</code>
	  at the place where it is used.<br>
</div>
<br>
High-levels observators<br>
<pre><span class="keyword">val</span> <a name="VALobserve_calls"></a>observe_calls : <code class="type">string -> ('a -> 'b -> 'c) -> 'a -> 'b -> 'c</code></pre><div class="info">
<code class="code">observe_calls s f</code> create a point called <code class="code">s</code> inside the function <code class="code">f</code> that has one argument and isn't recursive.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALobserve_calls2"></a>observe_calls2 : <code class="type">string -> ('a -> 'b -> 'c) -> 'a -> 'b -> 'c</code></pre><div class="info">
<code class="code">observe_calls2 s f</code> create a point called <code class="code">s</code> inside the function <code class="code">f</code> that has two arguments and isn't recursive.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALobserve_calls_rec"></a>observe_calls_rec : <code class="type">string -> (('a -> 'b) -> 'a -> 'b) -> 'a -> 'b</code></pre><div class="info">
<code class="code">observe_calls_rec s f</code> create a point called <code class="code">s</code> inside the function <code class="code">f</code> that has one argument and is recursive.<br>
</div>
<pre><span class="keyword">val</span> <a name="VALobserve_calls_rec2"></a>observe_calls_rec2 : <code class="type">string -> (('a -> 'b -> 'c) -> 'a -> 'b -> 'c) -> 'a -> 'b -> 'c</code></pre><div class="info">
<code class="code">observe_calls_rec2 s f</code> create a point called <code class="code">s</code> inside the function <code class="code">f</code> that has two arguments and is recursive.<br>
</div>
</body></html>