[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Pierre Weis <Pierre.Weis@i...> |
| Subject: | Re: gestion du temps en Caml ? |
En Caml Light 0.74: la fonction sys__time : unit -> float donne le temps e'coule' depuis le lancement du programme (ou du syste`me interactif). Sous Unix, vous pouvez aussi utiliser l'interface avec le syste`me (module unix, fonction unix__time pour Caml Light et Unix.time pour Objective Caml). If you use Caml Light 0.74: the sys__time : unit -> float function returns the elapsed time since the beginning of the execution. Alternatively, under Unix, you may use the Unix module that provides an interface to the operating system (unix__time for Caml Light, or Unix.time for Objective Caml). Pierre Weis INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://pauillac.inria.fr/~weis/