caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: onlyclimb <onlyclimb@163.com>
To: Chris Hecker <checker@d6.com>, caml-list@inria.fr
Subject: Re: [Caml-list] time function
Date: Mon, 23 Dec 2002 16:05:45 +0000	[thread overview]
Message-ID: <3E073459.1000100@163.com> (raw)
In-Reply-To: <4.3.2.7.2.20021222233716.030c1be0@localhost>

Chris Hecker wrote:

>
>> How can i get a resolution of milli-seconds
>
>
> Unix.gettimeofday, I believe.  This is in the documentation.
>
>
>
# open Unix;;
# time();;
- : float = 1040659293.
# gettimeofday();;
- : float = 1040659299.94
it seems that  gettimeofday() is for centi-second,  :-)


-------------------
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


  reply	other threads:[~2002-12-23  8:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-23 15:18 onlyclimb
2002-12-23  7:38 ` Chris Hecker
2002-12-23 16:05   ` onlyclimb [this message]
2002-12-23  8:19     ` Sven Luther
2002-12-23  8:51       ` David Brown
2002-12-23 17:13       ` onlyclimb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E073459.1000100@163.com \
    --to=onlyclimb@163.com \
    --cc=caml-list@inria.fr \
    --cc=checker@d6.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).