<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/12/9e50d6b9dc4fa4946c0dddc131ee2235"
  from="onlyclimb &lt;onlyclimb@1...&gt;"
  author="onlyclimb"
  date="2002-12-23T09:13:13"
  subject="Re: [Caml-list] time function"
  prev="2002/12/c7b4e0ea2cd45574dbf17ca1f5b4f7b4"
  next="2002/12/64f9891465a85033402f55b9d9d414a4"
  prev-in-thread="2002/12/9a17a0866459c3a03977c601d7a0c746"
  prev-thread="2002/12/7b41bb2cf02f08cdbe03c5ca5733063b"
  next-thread="2002/12/85b645315511ed17dcc3577d643c66b4"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] time function">
<msg 
  url="2002/12/760539af03625c1d2af3b423714355e5"
  from="onlyclimb &lt;onlyclimb@1...&gt;"
  author="onlyclimb"
  date="2002-12-23T07:21:13"
  subject="[Caml-list] time function">
<msg 
  url="2002/12/e48c462e89c59263f9e15b37bf536ab9"
  from="Chris Hecker &lt;checker@d...&gt;"
  author="Chris Hecker"
  date="2002-12-23T07:40:42"
  subject="Re: [Caml-list] time function">
<msg 
  url="2002/12/f4734b657369b00650069d2bbf5d2677"
  from="onlyclimb &lt;onlyclimb@1...&gt;"
  author="onlyclimb"
  date="2002-12-23T08:06:04"
  subject="Re: [Caml-list] time function">
<msg 
  url="2002/12/21ac3eedf24975c6cbca3646f48109dc"
  from="Sven Luther &lt;luther@d...&gt;"
  author="Sven Luther"
  date="2002-12-23T08:21:17"
  subject="Re: [Caml-list] time function">
<msg 
  url="2002/12/9a17a0866459c3a03977c601d7a0c746"
  from="David Brown &lt;caml-list@d...&gt;"
  author="David Brown"
  date="2002-12-23T08:52:46"
  subject="Re: [Caml-list] time function">
</msg>
<msg 
  url="2002/12/9e50d6b9dc4fa4946c0dddc131ee2235"
  from="onlyclimb &lt;onlyclimb@1...&gt;"
  author="onlyclimb"
  date="2002-12-23T09:13:13"
  subject="Re: [Caml-list] time function">
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
&gt;
&gt;
&gt;Time used : 0.035280 seconds 
&gt;Time used : 0 days, 0 hours, 0 minutes, 0 seconds, 35 milliseconds, 279 microseconds
&gt;
&gt;So i guess it works with milliseconds, but i may be wrong.
&gt;
&gt;It may just be a coincidence that your call to gettimeofday fall on a
&gt;full centi-second, and thus the last decimal was not shown.
&gt;
oh. i see.   maybe it is because  on the top level it only show 12 
digit. so i can not see the digits after centisecond.

# (let a = gettimeofday() in for i=0 to 10000 do ignore (i=i) done ; 
gettimeofday() -. a ) ;;
- : float = 0.00056004524231

# for i =0 to 10000 do print_float ((gettimeofday()); print_string " "  
done;;
......
63452.51 1040663452.51 1040663452.51 1040663452.51 1040663452.51 
1040663452.51 1040663452.51 1040663452.51 1040663452.51 1040663452.51 
1040663452.51 1040663452.51 - : unit = ()

Thanks

Merry Christmas

climb

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

