<refentry id="xmlsec-debug">
<refmeta>
<refentrytitle>debug.h</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>XMLSEC Library</refmiscinfo>
</refmeta>

<refnamediv>
<refname>debug.h</refname><refpurpose>The usefull debugging functions.</refpurpose>
</refnamediv>

<refsynopsisdiv><title>Synopsis</title>
<synopsis>



void        <link linkend="xmlSecTimerInit">xmlSecTimerInit</link>                 (void);
void        <link linkend="xmlSecTimerStart">xmlSecTimerStart</link>                (void);
void        <link linkend="xmlSecTimerEnd">xmlSecTimerEnd</link>                  (void);
<link linkend="double">double</link>      <link linkend="xmlSecTimerGet">xmlSecTimerGet</link>                  (void);
</synopsis>
</refsynopsisdiv>





<refsect1>
<title>Description</title>
<para>

</para>
</refsect1>

<refsect1>
<title>Details</title>
<refsect2>
<title><anchor id="xmlSecTimerInit">xmlSecTimerInit ()</title>
<programlisting>void        xmlSecTimerInit                 (void);</programlisting>
<para>
Resets the total time counter.</para>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="xmlSecTimerStart">xmlSecTimerStart ()</title>
<programlisting>void        xmlSecTimerStart                (void);</programlisting>
<para>
Starts timer.</para>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="xmlSecTimerEnd">xmlSecTimerEnd ()</title>
<programlisting>void        xmlSecTimerEnd                  (void);</programlisting>
<para>
Adds the time from the last <link linkend="xmlSecTimerStart">xmlSecTimerStart</link>() function call 
to the total time counter.</para>
<para>

</para></refsect2>
<refsect2>
<title><anchor id="xmlSecTimerGet">xmlSecTimerGet ()</title>
<programlisting><link linkend="double">double</link>      xmlSecTimerGet                  (void);</programlisting>
<para>
Gets the current total time counter value in msec.</para>
<para>

</para><informaltable pgwide="1" frame="none" role="params">
<tgroup cols="2">
<colspec colwidth="2*">
<colspec colwidth="8*">
<tbody>
<row><entry align="right"><emphasis>Returns</emphasis> :</entry><entry>the current total time in msec.
</entry></row>
</tbody></tgroup></informaltable></refsect2>

</refsect1>




</refentry>
