<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
<MAN>
  <LANGUAGE>eng</LANGUAGE>
  <TITLE>pvm_get_timer</TITLE>
  <TYPE>Scilab function</TYPE>
  <DATE>January 1998</DATE>
  <SHORT_DESCRIPTION name="pvm_get_timer"> Gets the  system's notion  of  the current time.  </SHORT_DESCRIPTION>
  <CALLING_SEQUENCE>
    <CALLING_SEQUENCE_ITEM>[time] = pvm_get_timer()  </CALLING_SEQUENCE_ITEM>
  </CALLING_SEQUENCE>
  <PARAM>
    <PARAM_INDENT>
      <PARAM_ITEM>
        <PARAM_NAME>time</PARAM_NAME>
        <PARAM_DESCRIPTION>
          <SP>: scalar</SP>
        </PARAM_DESCRIPTION>
      </PARAM_ITEM>
    </PARAM_INDENT>
  </PARAM>
  <DESCRIPTION>
    <P><VERB>pvm_get_timer</VERB> returns the  time elapsed since the last call of
    <VERB>pvm_get_timer</VERB> or the last call of
    <VERB>pvm_set_timer</VERB>.  The  time   is
    expressed in elapsed microseconds.  The resolution of the system clock
    is  hardware  dependent; the  time may  be  updated continuously or in
    clock ticks.</P>
    <P>
    The returned value <VERB>time</VERB>will be &gt;= 0 if 
    the call is successful and will be 
    will be -1 if some error occurs.</P>
  </DESCRIPTION>
  <EXAMPLE>
<![CDATA[
B = rand(100,100);
A = rand(100,100);
pvm_set_timer();C=A*B;t=pvm_get_timer()
 ]]>
  </EXAMPLE>
  <SEE_ALSO>
    <SEE_ALSO_ITEM>
      <LINK>pvm_set_timer</LINK>
    </SEE_ALSO_ITEM>
  </SEE_ALSO>
</MAN>
